OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre7-68-ga1e2aeb

Gerrit Code Review gerrit@openafs.org
Sat, 13 Aug 2011 19:17:16 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit a1e2aeb3f060c15313b271bfc66b7797c8cadf1f
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.
    (cherry picked from commit d1946ffe9be0031a2daf907f5e96cf0ee7f5e15e)
    
    Change-Id: I69b9465f02417babf9b1d5179197278fac64f192
    Reviewed-on: http://gerrit.openafs.org/5249
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>

 src/afs/LINUX/osi_vnodeops.c     |   21 +++----
 src/afs/VNOPS/afs_vnop_readdir.c |   16 ++++-
 src/dir/dir.c                    |  114 +++++++++++++++++++++++++++++--------
 src/dir/dir.h                    |    2 +
 4 files changed, 111 insertions(+), 42 deletions(-)

-- 
OpenAFS Master Repository