OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-131-g7965816

Gerrit Code Review gerrit@openafs.org
Mon, 24 Oct 2011 03:49:26 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_4_x branch:
commit 988e51520429195955921bb53a71974a0cdff0a8
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.
    
    Change-Id: I4b3bbb95cb49645a8ac52e6061f9e24f89924831
    Reviewed-on: http://gerrit.openafs.org/5617
    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