glibc/nss
Alexandre Oliva 4969890247 BZ#14498: fix infinite loop in nss_db_getservbyname
nss_db uses nss_files code for services, but a continue on protocol
mismatch that doesn't affect nss_files skipped the code that advanced
to the next db entry.  Any one of these changes would suffice to fix
it, but fixing both makes them both safer to reuse elsewhere.

for  ChangeLog

	[BZ #14498]
	* NEWS: Fixed.
	* nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
	after parsing line but before break_if_match.
	* nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
	if there is a protocol mismatch.
2014-11-21 03:29:56 -02:00
..
nss_db BZ#14498: fix infinite loop in nss_db_getservbyname 2014-11-21 03:29:56 -02:00
nss_files BZ#14498: fix infinite loop in nss_db_getservbyname 2014-11-21 03:29:56 -02:00
alias-lookup.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
bug-erange.c
databases.def Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
db-Makefile Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Depend
digits_dots.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
ethers-lookup.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
function.def Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getent.c Update remaining copyright dates 2014-01-01 22:02:55 +10:00
getnssent_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getnssent.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getXXbyYY_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getXXbyYY.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getXXent_r.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
getXXent.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
grp-lookup.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
hosts-lookup.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
key-lookup.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
makedb.c Update remaining copyright dates 2014-01-01 22:02:55 +10:00
Makefile Add new macro IN_MODULE to identify module in which source is built 2014-11-19 12:13:54 +05:30
netgrp-lookup.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
network-lookup.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
nss_test1.c
nss.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
nsswitch.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
nsswitch.conf
nsswitch.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
proto-lookup.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
pwd-lookup.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
rpc-lookup.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
service-lookup.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sgrp-lookup.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
spwd-lookup.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
test-digits-dots.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
test-netdb.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-nss-static.c
tst-nss-test1.c
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 notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00