Fix forced loop termination in nscd database lookup.
commit5078fff6c4bc1c71c5d558ff7ec4775aa48b0c11
authorJakub Jelinek <jakub@redhat.com>
Mon, 18 May 2009 17:19:50 +0000 (18 10:19 -0700)
committerUlrich Drepper <drepper@redhat.com>
Mon, 18 May 2009 17:19:50 +0000 (18 10:19 -0700)
tree1cfd1a12546d845b6a06b73871e678b51ea8629c
parente20c4ef0ef9075f80ca560f6bdd5ed3229673067
Fix forced loop termination in nscd database lookup.

There are two issues with the forced loop exit in the nscd lookup:
1. the estimate of the entry size isn't pessimistic enough for all
   databases, resulting potentially is too early exits
2. the combination of 64-bit process and 32-bit nscd would lead to
   rejecting valid records in the database.
ChangeLog
nscd/nscd_helper.c