OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 06 Feb 2006 02:06:34 EST


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/WINNT/afsd

Modified Files:
	cm_freelance.c cm_memmap.c 
Log Message:
DELTA windows-winqual-20060206
AUTHOR jaltman@secure-endpoints.com

Fix two bugs reported via Windows Crash Reporting:

 * Freelance initialization is somehow broken allowing the number of
   locally defined mountpoints to become negative.  Due to the use of
   != instead of < in loops, it is possible to read/write unallocated
   memory.

 * GetTextualSid() was not properly handling a NULL output buffer 
   pointer as an indication that the desired size should be returned.



--- DELTA config follows ---
windows-winqual-20060206 openafs/src/WINNT/afsd/cm_freelance.c 1.31 1.32
windows-winqual-20060206 openafs/src/WINNT/afsd/cm_memmap.c 1.6 1.7