glibc/nss/nss_files
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
..
files-alias.c
files-ethers.c
files-grp.c
files-have_o_cloexec.c
files-hosts.c
files-init.c
files-initgroups.c
files-key.c
files-netgrp.c Use NSS_STATUS_TRYAGAIN to indicate insufficient buffer (BZ #16878) 2014-05-26 11:40:08 +05:30
files-network.c
files-parse.c
files-proto.c
files-pwd.c
files-rpc.c
files-service.c BZ#14498: fix infinite loop in nss_db_getservbyname 2014-11-21 03:29:56 -02:00
files-sgrp.c
files-spwd.c
files-XXX.c Don't ignore too long lines in nss_files (BZ #17079) 2014-06-23 12:29:51 +02:00