]> git.ipfire.org Git - thirdparty/glibc.git/commit
2007-01-31 Jakub Jelinek <jakub@redhat.com>
authorJakub Jelinek <jakub@redhat.com>
Thu, 12 Jul 2007 14:46:36 +0000 (14:46 +0000)
committerJakub Jelinek <jakub@redhat.com>
Thu, 12 Jul 2007 14:46:36 +0000 (14:46 +0000)
commitb6f4c4bc643847bfe4590d470de9fb91b03c3910
tree3e8ce657e0b851dadcaa8c73ee77d9214f2f753d
parent45138560bb92eb77179638ab063917cf5c6026c7
2007-01-31  Jakub Jelinek  <jakub@redhat.com>

* nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier
from return value.
* nscd/nscd_helper.c: Include string.h.
(__nscd_cache_search): Remove const qualifier from return value.
On strict alignment architectures check hash entry and data head
alignment.
* nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because
mmapped data during GC cycle contains garbage.  If
__nscd_drop_map_ref fails, decrement mapped->counter when returning
error or if retrying with NO_MAPPING, only __nscd_unmap if counter
dropped to 0.
* nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
* nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
* nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
* nscd/nscd_getai.c (__nscd_getai): Likewise.
ChangeLog
nscd/nscd-client.h
nscd/nscd_getai.c
nscd/nscd_getgr_r.c
nscd/nscd_gethst_r.c
nscd/nscd_getpw_r.c
nscd/nscd_helper.c
nscd/nscd_initgroups.c