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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
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
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 for openafs-stable-1_4_x follows ---
STABLE14-windows-winqual-20060206 openafs/src/WINNT/afsd/cm_freelance.c 1.15.2.13 1.15.2.14
STABLE14-windows-winqual-20060206 openafs/src/WINNT/afsd/cm_memmap.c 1.1.2.4 1.1.2.5