diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-05-18 10:19:50 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-05-18 10:19:50 -0700 |
commit | 5078fff6c4bc1c71c5d558ff7ec4775aa48b0c11 (patch) | |
tree | 1cfd1a12546d845b6a06b73871e678b51ea8629c /ChangeLog | |
parent | e20c4ef0ef9075f80ca560f6bdd5ed3229673067 (diff) | |
download | glibc-5078fff6c4bc1c71c5d558ff7ec4775aa48b0c11.tar.gz glibc-5078fff6c4bc1c71c5d558ff7ec4775aa48b0c11.tar.xz glibc-5078fff6c4bc1c71c5d558ff7ec4775aa48b0c11.zip |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 04c04bab3b..dfe26cfbb1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-05-18 Jakub Jelinek <jakub@redhat.com> + Ulrich Drepper <drepper@redhat.com> + + * nscd/nscd_helper.c (MINIMUM_HASHENTRY_SIZE): Define. + (__nscd_cache_search): Assume each entry in the + hash chain needs one hashentry and half of datahead. Use + MINIMUM_HASHENTRY_SIZE instead of sizeof(hashentry). + 2009-05-16 Ulrich Drepper <drepper@redhat.com> * posix/sys/wait.h: Fix typos. Pretty printing. |