lib/libc/gen/getnetgrent.c, revision 1.13 contains:
(in innetgr()):
743: found = in_find(ypdom, sl, strdup(grp), host, user, domain);
and it doesn't seem to be checked:
(in in_find(ypdom, sl, group, ...)):
475: if (_ng_sl_find(sl, grp) != NULL) {
(in _ng_sl_find(sl, name)):
157: if (strcmp(sl->sl_str[i], name) == 0)
Is that right?
- Jared