/[base]
ViewVC logotype

Revision 301710


Jump to revision: Previous Next
Author: markj
Date: Thu Jun 9 01:11:48 2016 UTC (8 years ago)
Changed paths: 1
Log Message:
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


Changed paths

Path Details
Directoryhead/lib/libc/gen/getnetgrent.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27