OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-61-g5e24220
Gerrit Code Review
gerrit@openafs.org
Mon, 3 May 2010 17:04:11 -0700 (PDT)
The following commit has been merged in the master branch:
commit 5e24220c3d500c971e876e6805e3e46b91bad2e6
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>
src/afs/OBSD/osi_groups.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository