Avoid write to invalid file descriptor in nscd
authorUlrich Drepper <drepper@gmail.com>
Thu, 30 Jun 2011 03:33:38 +0000 (23:33 -0400)
committerUlrich Drepper <drepper@gmail.com>
Thu, 30 Jun 2011 03:33:38 +0000 (23:33 -0400)
commitcf3b23ffcd95841f1d36a3c808c415b41d70b3a9
treefa9fe9952e8ff971be44741bfafb4b11e6477732
parent5c0b8d9013560bb24805844d31a7fb3959ee1e8d
Avoid write to invalid file descriptor in nscd

When readding entries to the group and services cache and the lookup
is unsuccesful, we tried to write the notfound record.  Just don't
do it in this case.
ChangeLog
nscd/grpcache.c
nscd/servicescache.c