glibc/nss
Florian Weimer 31d0a4fa64 nss_db: Fix initialization of iteration position [BZ #20237]
When get*ent is called without a preceding set*ent, we need
to set the initial iteration position in get*ent.

Reproducer: Add “services: db files” to /etc/nsswitch.conf, then run
“perl -e getservent”.  It will segfault before this change, and exit
silently after it.
2016-06-11 12:12:56 +02:00
..
nss_db nss_db: Fix initialization of iteration position [BZ #20237] 2016-06-11 12:12:56 +02:00
nss_files Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
alias-lookup.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
bug17079.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
bug-erange.c Update. 2002-09-29 18:25:48 +00:00
databases.def Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
db-Makefile Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
Depend
digits_dots.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
ethers-lookup.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
function.def Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
getent.c Update copyright dates not handled by scripts/update-copyrights. 2016-01-04 16:26:30 +00:00
getnssent_r.c NSS: Implement group merging support. 2016-04-29 22:18:21 -04:00
getnssent.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
getXXbyYY_r.c NSS: Implement group merging support. 2016-04-29 22:18:21 -04:00
getXXbyYY.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
getXXent_r.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
getXXent.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
grp-lookup.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
hosts-lookup.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
key-lookup.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
makedb.c Update copyright dates not handled by scripts/update-copyrights. 2016-01-04 16:26:30 +00:00
Makefile Register extra test objects 2016-04-13 17:07:13 +02:00
netgrp-lookup.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
network-lookup.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
nss_test1.c Add self-contained test for NSS. 2010-08-11 07:25:02 -07:00
nss.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
nsswitch.c NSS: Implement group merging support. 2016-04-29 22:18:21 -04:00
nsswitch.conf More configurability for secondary group lookup 2011-05-10 00:36:29 -04:00
nsswitch.h NSS: Implement group merging support. 2016-04-29 22:18:21 -04:00
proto-lookup.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
pwd-lookup.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
rewrite_field.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
rpc-lookup.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
service-lookup.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sgrp-lookup.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
spwd-lookup.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
test-digits-dots.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
test-netdb.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-field.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-nss-getpwent.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-nss-static.c 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com> 2012-04-06 13:49:35 -07:00
tst-nss-test1.c Fix nss/tst-nss-test1.c format warning. 2014-11-27 03:24:18 +00:00
valid_field.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
valid_list_field.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
Versions Get canonical name in getaddrinfo from hosts file for AF_INET (fixes 16077) 2013-11-28 17:18:12 +05:30
XXX-lookup.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00