mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
31d0a4fa64
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. |
||
---|---|---|
.. | ||
db-init.c | ||
db-initgroups.c | ||
db-netgrp.c | ||
db-open.c | ||
db-XXX.c | ||
nss_db.h |