windows-callback-race-20050427
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 27 Apr 2005 16:32:22 +0000 (16:32 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 27 Apr 2005 16:32:22 +0000 (16:32 +0000)
commit8085bc4d476a2e77b26454929cdfa1d034c754f7
tree63bd233a2bed222cb6dc7aaaf3f874bc0f0f9d7b
parentbd6345779e38b4de1d7b83269cace93ccc8bfb8a
windows-callback-race-20050427

cm_EndCallbackGrantingCall contained a race condition due to the release
of the cm_callbackLock in the middle of the for() loop.  The race was
removed by optimizing out the call to cm_CallbackNotifyChange().  There
is no reason this needed to be called once per callback revoke in the
list.
src/WINNT/afsd/cm_callback.c