2
0
mirror of git://sourceware.org/git/glibc.git synced 2025-03-19 13:40:59 +08:00
Florian Weimer 31d0a4fa64 nss_db: Fix initialization of iteration position [BZ ]
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
..
2002-09-29 18:25:48 +00:00
2016-04-13 17:07:13 +02:00
2010-08-11 07:25:02 -07:00