OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-109-g8fd8354

Gerrit Code Review gerrit@openafs.org
Sun, 19 Sep 2010 22:33:41 -0700 (PDT)


The following commit has been merged in the master branch:
commit 8fd83543b60aefb4b7c5a0116d1538a89f58bbb3
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Wed Sep 15 12:19:33 2010 -0400

    libafs: Fix pioctl get/putInt alignment issues
    
    We don't know if the buffer for pioctl data is aligned to anything, so
    we can't just dereference the given pointer as an int or anything
    else. So, just memcpy the data in for ints and such; conveniently,
    afs_pd_getBytes and afs_pd_putBytes can do this for us, so just use
    that.
    
    Change-Id: Id1abdae55308db6fe1e13f541a5d776daa6af934
    Reviewed-on: http://gerrit.openafs.org/2763
    Tested-by: Andrew Deason <adeason@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/afs/afs_pioctl.c |   41 +++++++++++++++--------------------------
 1 files changed, 15 insertions(+), 26 deletions(-)

-- 
OpenAFS Master Repository