about summary refs log tree commit diff
path: root/nscd/nscd_getserv_r.c
Commit message (Collapse)AuthorAgeFilesLines
* * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Pass cp Jakub Jelinek2008-06-031-1/+1
| | | | | | | | | | instead of portstr to nscd_getserv_r. Patch by Roman Kagan <rkagan@mail.ru>. 2008-06-03 Jakub Jelinek <jakub@redhat.com> * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Pass cp instead of portstr to nscd_getserv_r. Patch by Roman Kagan <rkagan@mail.ru>.
* [BZ #3195]Ulrich Drepper2007-10-131-2/+2
| | | | | | | | | * nscd/nscd_getai.c (__nscd_getai): Set errno to 0 in case we found no entry. * nscd/nscd_getgr.c (nscd_getgr_r): Likewise. * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
* Do recend check before realigning on strict alignment arches, as otherwise ↵Jakub Jelinek2007-01-311-4/+4
| | | | it was comparing a stack address + offset with a mmap address.
* * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier Jakub Jelinek2007-01-311-48/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. 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. * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
* * nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos.Jakub Jelinek2007-01-171-2/+2
| | | | * nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos.
* * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): CorrectUlrich Drepper2007-01-141-0/+306
computation of keylen.