glibc/nss/nss_db
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
..
db-init.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
db-initgroups.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
db-netgrp.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
db-open.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
db-XXX.c nss_db: Fix initialization of iteration position [BZ #20237] 2016-06-11 12:12:56 +02:00
nss_db.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00