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

Mon, 06 Feb 2006 02:07:08 EST

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

Modified Files:
      Tag: openafs-stable-1_4_x
	cm_freelance.c cm_memmap.c 
Log Message:
DELTA STABLE14-windows-winqual-20060206

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

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

--- DELTA config for openafs-stable-1_4_x follows ---
STABLE14-windows-winqual-20060206 openafs/src/WINNT/afsd/cm_freelance.c
STABLE14-windows-winqual-20060206 openafs/src/WINNT/afsd/cm_memmap.c