OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_2a-54-gd944158

Gerrit Code Review gerrit@openafs.org
Wed, 14 Dec 2011 07:52:24 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit d9441580223afd8dcaf396cde1992bf04bc7e755
Author: Jeffrey Altman <jaltman@your-file-system.com>
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
    
    Reviewed-on: http://gerrit.openafs.org/6248
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    (cherry picked from commit da89855b492d8d06128ed62b219dc968f5b38a9d)
    
    Change-Id: I85207bddcf5ba92c7ba6783404837cc1c4fa5f2e
    Reviewed-on: http://gerrit.openafs.org/6258
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>

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

-- 
OpenAFS Master Repository