OpenAFS Master Repository branch, openafs-stable-1_4_12_1, updated. openafs-stable-1_4_14-18-g71248e2
Gerrit Code Review
gerrit@openafs.org
Tue, 1 Nov 2011 19:35:20 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_4_12_1 branch:
commit aac41a1ac4fcf7d95bb61855f5d70ca4de31b2fa
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Sat Jul 16 23:30:59 2011 +0100
libafs/dir: Verify directory pathnames
Provide a new routine, 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.
Reviewed-on: http://gerrit.openafs.org/5617
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit 988e51520429195955921bb53a71974a0cdff0a8)
Change-Id: Ifb17d22a79b0b05a7dc209a8686b05225a4aefb0
Reviewed-on: http://gerrit.openafs.org/5746
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
src/afs/LINUX/osi_vnodeops.c | 23 +++----
src/afs/VNOPS/afs_vnop_readdir.c | 21 +++++--
src/dir/dir.c | 115 +++++++++++++++++++++++++++++--------
src/dir/dir.h | 2 +
4 files changed, 117 insertions(+), 44 deletions(-)
--
OpenAFS Master Repository