OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2132-gde4d12d
Gerrit Code Review
Thu, 26 Jan 2012 16:12:28 -0800 (PST)
The following commit has been merged in the master branch:
Author: Jeffrey Altman <firstname.lastname@example.org>
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.
Tested-by: BuildBot <email@example.com>
Tested-by: Jeffrey Altman <firstname.lastname@example.org>
Reviewed-by: Jeffrey Altman <email@example.com>
src/WINNT/afsrdr/npdll/AFS_Npdll.c | 75 +++++++++++++++++------------------
1 files changed, 36 insertions(+), 39 deletions(-)
OpenAFS Master Repository