diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-05-15 21:33:43 -0700 |
---|---|---|
committer | Petr Baudis <pasky@suse.cz> | 2009-05-22 04:56:54 +0200 |
commit | 4c7cb20430af51ddebf270b423d5c4aec3b9f770 (patch) | |
tree | e6d170f24375f10fc145583d14ba85541257fae6 /ChangeLog | |
parent | b9e0df9847f3460c67e27e631af8662e7906ed6b (diff) |
Further robustify nscd database lookup.
We can compute an absolute maximum for the number of elements which
can fit into the currently mapped database. Stop after that many
iterations.
(cherry picked from commit 831a40494d44045c0caaf8085ab1d35c0da23140)
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2009-05-15 Ulrich Drepper <drepper@redhat.com> + + * nscd/nscd.h: Move Definition for BLOCK_ALIGN_LOG, BLOCK_ALIGN, and + BLOCK_ALIGN_M1 to ... + * nscd/nscd-client.h: ...here. + * nscd/nscd_helper.c (__nscd_cache_search): Introduce loop counter. + Use it if we absolutely cannot reach any more correct list elements + because that many do not fit into the currently mapped database. + 2009-05-14 Jakub Jelinek <jakub@redhat.com> * nscd/nscd_helper.c: Include stddef.h. |