OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1526-gbb25bdf
Gerrit Code Review
gerrit@openafs.org
Sat, 13 Aug 2011 05:57:07 -0700 (PDT)
The following commit has been merged in the master branch:
commit d1946ffe9be0031a2daf907f5e96cf0ee7f5e15e
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Sat Jul 16 22:57:55 2011 +0100
libafs/dir: Verify directory pathnames
Provide a new routine, afs_dir_GetVerifiedBlob() which will ensure
that the pathname contained within a directory blob is correctly
terminated before returning it to the caller. For the purposes of this
function, correct termination is defined as having a terminating
\0 character within the same directory page as the blob itself.
Change-Id: I4b3bbb95cb49645a8ac52e6061f9e24f89924831
Reviewed-on: http://gerrit.openafs.org/5241
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/afs/LINUX/osi_vnodeops.c | 24 +++-----
src/afs/VNOPS/afs_vnop_readdir.c | 8 ++-
src/dir/dir.c | 120 ++++++++++++++++++++++++++++----------
src/dir/dir.h | 2 +
4 files changed, 106 insertions(+), 48 deletions(-)
--
OpenAFS Master Repository