windows-smb-dead-vc-gc-on-head-20080801
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 1 Aug 2008 14:14:50 +0000 (14:14 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 1 Aug 2008 14:14:50 +0000 (14:14 +0000)
commitebf66eff4b0e68e06c26522ae29e33a5b6fb3298
tree116702d94774741f1bd467e9c4b8113e7fd5209e
parentc38036761eef51f26b085ca8bc69f4a0a65a2f4a
windows-smb-dead-vc-gc-on-head-20080801

LICENSE MIT

deltas windows-smb-dead-vc-gc-20080627 and
windows-dead-vc-cleanup-take-two-20080703 attempted to
protect against an infinite recursion when cleaning up
dead smb virtual circuits.  they failed to address the
incrementing of the vc refcount in smb_ReleaseVCInternal
when it is about to call smb_CleanupDeadVC.  If the vc
is already being cleaned, then smb_ReleaseVCInternal
should not increment the refCount and should not call
smb_CleanupDeadVC.

(This commit was committed incorrectly to the 1-5
branch first.  delta name on the head was modified
to avoid the delta name collision.)
src/WINNT/afsd/smb.c