aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-11-22 11:11:24 -0500
committerUlrich Drepper <drepper@redhat.com>2010-11-22 11:11:24 -0500
commit3056dcdb783a177158a5617657d1a33f872358d6 (patch)
tree5ecaf81b3305f617e74d6241b2c86a5b87cf96b5 /ChangeLog
parentcf7c9078a5acdbb435498ace92cd81009637a971 (diff)
downloadglibc-3056dcdb783a177158a5617657d1a33f872358d6.tar
glibc-3056dcdb783a177158a5617657d1a33f872358d6.tar.gz
glibc-3056dcdb783a177158a5617657d1a33f872358d6.tar.bz2
glibc-3056dcdb783a177158a5617657d1a33f872358d6.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
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 124dd4c9d7..66bc545f00 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-05-31 Petr Baudis <pasky@suse.cz>
+
+ [BZ #10085]
+ * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
+ initialization of skip_initgroups_dyn.
+
2010-11-19 Ulrich Drepper <drepper@gmail.com>
* sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.