On Tue, 13 Sep 2016, Todd C. Miller wrote:
> Currently, innetgr(3) will return false if all of user, host and domain
> are specified, even if the tuple would otherwise match.
>
> The commented assumption "If a domainname is given, we would have found
> a match" is simply not true.
Sure.
> I also moved the strdup after the "Too bad need the slow recursive way"
> comment for readability.
Hmm, but then in the strdup() fails you need to call
_ng_sl_free(sl, 1);
no?
(Speaking of, _ng_sl_free() is now static and its second argument is
always 1, so maybe it should lose that...)
Philip Guenther