about summary refs log tree commit diff
path: root/socket/sendmsg.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-01-02 10:03:12 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-01-02 10:04:21 +0530
commitd41242129ba693cdbc8db85b846fcaccf9f0b7c4 (patch)
tree6134954f6153a4ada1c1785e7423c327615f56af /socket/sendmsg.c
parentac49ddc4958009fb05ee759be3dfe731d041ca3e (diff)
downloadglibc-d41242129ba693cdbc8db85b846fcaccf9f0b7c4.tar.gz
glibc-d41242129ba693cdbc8db85b846fcaccf9f0b7c4.tar.xz
glibc-d41242129ba693cdbc8db85b846fcaccf9f0b7c4.zip
Fix infinite loop in nscd when netgroup is empty (bz #16365)
Currently, when a user looks up a netgroup that does not have any
members, nscd goes into an infinite loop trying to find members in the
group.  This is because it does not handle cases when getnetgrent
returns an NSS_STATUS_NOTFOUND (which is what it does on empty group).
Fixed to handle this in the same way as NSS_STATUS_RETURN, similar to
what getgrent does by itself.
Diffstat (limited to 'socket/sendmsg.c')
0 files changed, 0 insertions, 0 deletions