* nscd/nscd_helper.c (get_mapping): Handle short replies instead
commit2479aa48ada4c3c8bad181dede001550dcbe1549
authorJakub Jelinek <jakub@redhat.com>
Sat, 7 Jul 2007 16:15:16 +0000 (7 16:15 +0000)
committerJakub Jelinek <jakub@redhat.com>
Sat, 7 Jul 2007 16:15:16 +0000 (7 16:15 +0000)
treef7794c1c060dd89218317463b8629d45371fc5e1
parent54854dd79228b33ffcc22d5646247c911b64d98c
* nscd/nscd_helper.c (get_mapping): Handle short replies instead
of crashing.  When this is the case or if the reply is malformed,
don't try to close the new file descriptor since it does not
exist.
Patch in part by Guillaume Chazarain <guichaz@yahoo.fr>.
ChangeLog
nscd/nscd_helper.c