glibc/nss/nss_db
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
..
db-init.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
db-initgroups.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
db-netgrp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
db-open.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
db-XXX.c BZ#14498: fix infinite loop in nss_db_getservbyname 2014-11-21 03:29:56 -02:00
nss_db.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00