diff options
author | 2010-11-22 11:11:24 -0500 | |
---|---|---|
committer | 2010-11-30 03:24:31 +0100 | |
commit | 491e94705bce68a32ce9ddbf4eefd17c5814c1fb (patch) | |
tree | 0b9ee09d4f0ee35ec33e8c71dfdb88a1abb5b5cd /stdlib/groupingwc.c | |
parent | Remove duplicate ChangeLog entry for f906814 (diff) | |
download | glibc-491e94705bce68a32ce9ddbf4eefd17c5814c1fb.tar.xz glibc-491e94705bce68a32ce9ddbf4eefd17c5814c1fb.zip |
Fix multiple nss_compat initgroups() bugs
Compat initgroups() is completely broken; the code will always set
skip_initgroups_dyn to true, so initgroups() will never be actually
called, but due to the nature of the code, setgrent() won't be called
either - thus, subsequent invocations of initgroups() will not return
the NIS group list anymore.
This is a simple patch that makes sure skip_initgroups_dyn is set only
in case initgroups is not available; it also attempts to handle the
unavailability of other NSS interfaces better.
Conflicts:
ChangeLog
(cherry picked from commit 3056dcdb783a177158a5617657d1a33f872358d6)
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions