windows-aclent-remove-extraneous-code-20071024
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 25 Oct 2007 05:47:23 +0000 (05:47 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 25 Oct 2007 05:47:23 +0000 (05:47 +0000)
commitfb7595ad1d31c5ccafa18de854f2bf8bc8c067de
tree370ef808a3195982b00743eb2120e464bd30359a
parent511aed14e0d18aa8c3a9a3742d79443912a4d9ff
windows-aclent-remove-extraneous-code-20071024

Microsoft provided a dump showing cm_data.aclLRUEndp == NULL in
GetFreeACLEnt().  Couldn't find any reason why that would be true.
However, there is extraneous code that manipulates the value of
aclLRUEndp when it should be left to osi_QRemoveHT() to update
the pointer values.

Also add an additional explicit test for aclLRUEndp == NULL in
GetFreeACLEnt().
src/WINNT/afsd/afsd_init.c
src/WINNT/afsd/cm_aclent.c
src/WINNT/afsd/cm_btree.c
src/WINNT/afsd/cm_btree.h
src/WINNT/afsd/cm_user.c