OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-23-g22b9e55

Gerrit Code Review gerrit@openafs.org
Wed, 5 May 2010 13:42:32 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_4_x branch:
commit 22b9e55e8a99b4956e2d3eb13c197184b27ef6a7
Author: Antoine Verheijen <antoine@ualberta.ca>
Date:   Mon May 3 15:04:20 2010 -0600

    OpenBSD: Fix bug in setpag() when group list is empty
    
    In OpenBSD, the PAG uses the 2nd and 3rd group slots in the task's
    group list. If an application sets en empty group list (such as Samba
    does), any existing PAG is lost and any new one is NOT set because
    the existing code will set the new group count to 2 instead of 3, and
    it leaves the first group entry as garbage (whatever random value the
    memory contained), thereby totally messing up the task's group list.
    This patch fixes it so that it behaves as expected.
    
    Change-Id: Ia718d55cbaad8ed372fba926dbfcb5db52ea684a
    Reviewed-on: http://gerrit.openafs.org/1898
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>
    (cherry picked from commit 5e24220c3d500c971e876e6805e3e46b91bad2e6)
    Reviewed-on: http://gerrit.openafs.org/1901

 src/afs/OBSD/osi_groups.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository