about summary refs log tree commit diff
path: root/nscd/gethstbyad_r.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-01-02 10:05:27 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-01-02 10:05:27 +0530
commit9a3c6a6ff602c88d7155139a7d7d0000b7b7e946 (patch)
tree021305585a78e7240421927f81151787e25e6b42 /nscd/gethstbyad_r.c
parentd41242129ba693cdbc8db85b846fcaccf9f0b7c4 (diff)
downloadglibc-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 'nscd/gethstbyad_r.c')
0 files changed, 0 insertions, 0 deletions