OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Fri, 07 Mar 2008 10:37:29 EST
Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-5/src/WINNT/afsd
Modified Files:
Tag: openafs-devel-1_5_x
smb.c
Log Message:
DELTA DEVEL15-windows-smb-writedata-crash-20080307
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT
FIXES 88731
If an application opens a file for read only and then attempts to
write to it, we would attempt to release an scp mutex without having
obtained either the scp or the mutex within smb_WriteData
There was no check in smb_ReadData to ensure that the file was opened
for reading. Add one.
--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-smb-writedata-crash-20080307 openafs/src/WINNT/afsd/smb.c 1.118.2.68 1.118.2.69