diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-01-02 10:05:27 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-01-02 10:05:27 +0530 |
commit | 9a3c6a6ff602c88d7155139a7d7d0000b7b7e946 (patch) | |
tree | 021305585a78e7240421927f81151787e25e6b42 /ChangeLog | |
parent | d41242129ba693cdbc8db85b846fcaccf9f0b7c4 (diff) | |
download | glibc-9a3c6a6ff602c88d7155139a7d7d0000b7b7e946.tar.gz glibc-9a3c6a6ff602c88d7155139a7d7d0000b7b7e946.tar.xz glibc-9a3c6a6ff602c88d7155139a7d7d0000b7b7e946.zip |
Fix return code from getent netgroup when the netgroup is not found (bz #16366)
nscd incorrectly returns a success even when the netgroup in question is not found and adds a positive result in the cache. this patch fixes this behaviour by adding a negative lookup entry to cache and returning an error when the netgroup is not found.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index dd7bd66970..33aa2bd2bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com> + [BZ #16366] + * nscd/netgroupcache.c (do_notfound): New function. + (addgetnetgrentX): Use it. + [BZ # 16365] * nscd/netgroupcache.c (addgetnetgrentX): Break if status is NSS_STATUS_NOTFOUND. |