Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2015 19:36:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 26486] [libc] [patch] setnetgrent hangs when netgroup contains empty netgroup
Message-ID:  <bug-26486-8-dbmOUpA7AM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-26486-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-26486-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=26486

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

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

--- Comment #9 from Pedro F. Giffuni <pfg@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-26486-8-dbmOUpA7AM>