[Bug 26486] [libc] [patch] setnetgrent hangs when netgroup contains empty netgroup

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 19 19:37:00 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=26486

Pedro F. Giffuni <pfg at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pfg at FreeBSD.org

--- Comment #9 from Pedro F. Giffuni <pfg at FreeBSD.org> ---

On FreeBSD 10, the test program produces this:

% ./test
1
2
4
5

(no hang).
The patch doesn't apply cleanly as the base code added a check on line
590:
            if (lp == NULL) 
                return (NULL);

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list