]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-windows-winqual-20060206
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 6 Feb 2006 07:07:08 +0000 (07:07 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 6 Feb 2006 07:07:08 +0000 (07:07 +0000)
commit0b95cfab6f5f7aec931be1a0c146b05e40115d75
tree7923f5c0a1bfa8d4a2fd9a32dc50551b71115b9c
parent5886653be7e8961e6b615a0e166ffffd757fe072
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
   memory.

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

(cherry picked from commit 77de32ed745d912e35990c5602b4a69a1b654973)
src/WINNT/afsd/cm_freelance.c
src/WINNT/afsd/cm_memmap.c