OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2132-gde4d12d
Gerrit Code Review
gerrit@openafs.org
Thu, 26 Jan 2012 16:12:28 -0800 (PST)
The following commit has been merged in the master branch:
commit 1161d5fc3cde5e15cb2d13f01ff225710fc04766
Author: Jeffrey Altman <jaltman@your-file-system.com>
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
Change-Id: I86fbb9db4aa6a438dbb5e793678ec52283d5546b
Reviewed-on: http://gerrit.openafs.org/6618
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsrdr/npdll/AFS_Npdll.c | 75 +++++++++++++++++------------------
1 files changed, 36 insertions(+), 39 deletions(-)
--
OpenAFS Master Repository