OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-1984-gda89855

Gerrit Code Review
Wed, 14 Dec 2011 06:16:54 -0800 (PST)

The following commit has been merged in the master branch:
commit da89855b492d8d06128ed62b219dc968f5b38a9d
Author: Jeffrey Altman <>
Date:   Tue Dec 13 23:28:15 2011 -0500

    Windows: AFSRDFSProvider stack overrun
    StringCchXXX functions take the number of characters not
    the number of bytes.   Use StringCbXXXX functions whenever the
    buffer size is being specified.
    Check return codes from StringXXXXXX functions and return errors
    instead of blindly continuing with a truncated string.
    Allocate a larger buffer for substitution strings since they
    need to handle the device path plus the target path.
    FIXES 130392
    Change-Id: I62ca980d145d6fef8cf771c26cd634ce1dd55b91
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>
    Tested-by: Jeffrey Altman <>

 src/WINNT/afsrdr/npdll/AFS_Npdll.c |  260 +++++++++++++++++++++++++-----------
 1 files changed, 182 insertions(+), 78 deletions(-)

OpenAFS Master Repository