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 /inet/getnetent.c | |
parent | d41242129ba693cdbc8db85b846fcaccf9f0b7c4 (diff) | |
download | glibc-9a3c6a6ff602c88d7155139a7d7d0000b7b7e946.tar glibc-9a3c6a6ff602c88d7155139a7d7d0000b7b7e946.tar.gz glibc-9a3c6a6ff602c88d7155139a7d7d0000b7b7e946.tar.bz2 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 'inet/getnetent.c')
0 files changed, 0 insertions, 0 deletions