]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
Fix return code from getent netgroup when the netgroup is not found (bz #16366)
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 2 Jan 2014 04:35:27 +0000 (10:05 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 2 Jan 2014 04:35:27 +0000 (10:05 +0530)
commit9a3c6a6ff602c88d7155139a7d7d0000b7b7e946
tree021305585a78e7240421927f81151787e25e6b42
parentd41242129ba693cdbc8db85b846fcaccf9f0b7c4
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.
ChangeLog
NEWS
nscd/netgroupcache.c