about summary refs log tree commit diff
path: root/sunrpc/bindrsvprt.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-03-28 11:45:47 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-03-28 11:45:47 +0530
commit7a86be6e5f18ba99b25d75c555ce56fe1fcea325 (patch)
tree59962cb94040b4cb47fa2e4eae8c75b2f0d06937 /sunrpc/bindrsvprt.c
parent1728ab378ef2302aaaf921f6109dbb6d30659c88 (diff)
downloadglibc-7a86be6e5f18ba99b25d75c555ce56fe1fcea325.tar.gz
glibc-7a86be6e5f18ba99b25d75c555ce56fe1fcea325.tar.xz
glibc-7a86be6e5f18ba99b25d75c555ce56fe1fcea325.zip
Don't add input group during initgroups_dyn in hesiod
Fixes BZ #15304.

The *initgroups_dyn functions are called with a group argument.  This
group gid is usually skipped while populating the grouplist since the
caller adds that group id in advance.

The hesiod initgroups_dyn implementation however adds the group gid to
the list if it does not already exist.  While it works fine for the
usual initgroups, it breaks nscd since it calls initgroups_dyn with -1
as the gid (to have all groups included).
Diffstat (limited to 'sunrpc/bindrsvprt.c')
0 files changed, 0 insertions, 0 deletions