OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_4-81-g1ae5374

Gerrit Code Review
Thu, 26 Jan 2012 22:33:30 -0800 (PST)

The following commit has been merged in the openafs-devel-1_7_x branch:
commit a37574484755fb839b1eba6d0b5af54e99a26bc6
Author: Jeffrey Altman <>
Date:   Wed Jan 25 11:27:39 2012 -0500

    Windows: DriveSubstitution handle too small buffer
    If the buffer passed to DriveSubstitution is too small the
    resulting file path will end up being truncated.  At the very
    least log the fact that truncation is occurring.  In addition
    return the fact that truncation occurred to the caller.
    In NPGetUniversalName allocate a 4K buffer on the heap instead
    of calculating a buffer based on the local name buffer size.
    The local name buffer size has no relationship with the required
    buffer size for the expanded unc or device path.
    FIXES 130548
    Tested-by: BuildBot <>
    Tested-by: Jeffrey Altman <>
    Reviewed-by: Jeffrey Altman <>
    (cherry picked from commit 1161d5fc3cde5e15cb2d13f01ff225710fc04766)
    Change-Id: Iaba8f1c91ae88a898a11675cf36557b1fdd27587
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>
    Tested-by: Jeffrey Altman <>

 src/WINNT/afsrdr/npdll/AFS_Npdll.c |   75 +++++++++++++++++------------------
 1 files changed, 36 insertions(+), 39 deletions(-)

OpenAFS Master Repository