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
db-initgroups.c
db-netgrp.c
db-open.c
db-XXX.c nss_db: Fix initialization of iteration position [BZ #20237] 2016-06-11 12:12:56 +02:00
nss_db.h