markj a7caa41829 Fix an infinite loop in setnetgrent(3) with NIS netgroups.
Handle an empty result from yp_match() by returning NULL, which is
consistent with the handling of an empty netgroup in /etc/netgroup.
setnetgrent(3) has no return value, so there is no particular need to
distinguish this case from an error.

PR:		26486
MFC after:	2 weeks
2016-06-09 01:11:48 +00:00
..
2016-04-30 01:24:24 +00:00
2016-05-31 18:32:57 +00:00
2016-03-30 14:42:09 +00:00
2016-04-30 01:24:24 +00:00
2016-06-08 23:30:13 +00:00
MFH
2016-02-03 02:02:01 +00:00
2016-04-30 01:24:24 +00:00
2016-04-30 01:24:24 +00:00
2016-04-30 01:24:24 +00:00
2016-05-06 16:03:40 +00:00