mirror of git://sourceware.org/git/glibc.git
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-XXX.c | ||
| db-init.c | ||
| db-initgroups.c | ||
| db-netgrp.c | ||
| db-open.c | ||
| nss_db.h | ||