windows-winqual-20060206
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 6 Feb 2006 07:06:33 +0000 (07:06 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 6 Feb 2006 07:06:33 +0000 (07:06 +0000)
commit77de32ed745d912e35990c5602b4a69a1b654973
tree607b2ab935766e212103261e3a2f4e803a0ad95b
parentf504df317572835718037fe177073e3202905753
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
   memory.

 * GetTextualSid() was not properly handling a NULL output buffer
   pointer as an indication that the desired size should be returned.
src/WINNT/afsd/cm_freelance.c
src/WINNT/afsd/cm_memmap.c