]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-windows-smb_fid_t-audit-20060125
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 26 Jan 2006 06:09:47 +0000 (06:09 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 26 Jan 2006 06:09:47 +0000 (06:09 +0000)
commit21c576178b01382f411892c318130df429e38de8
tree307a2c6a20ce83cf51fb378c52fad3e880d5431b
parent6266a10f566ae85c007aaf48c6c93cf0c1dad25f
STABLE14-windows-smb_fid_t-audit-20060125

Further testing revealed that some smb_vc_t objects could not be freed
because the associated smb_fid_t objects never reached a zero refcount.
Additional auditing uncovered cases in which there were holds not being
released and others in which they were released to many times.  This
patch fixes the problems and improves auditability by modifying the
behavior of the smb_IoctlXXX() functions to not release a reference
that was obtained by the caller.  Now the caller releases the reference.
src/WINNT/afsd/afslogon.c
src/WINNT/afsd/smb.c
src/WINNT/afsd/smb3.c
src/WINNT/afsd/smb_ioctl.c