[Bug 234622] [libc] getgrent() issue with large NIS groups
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Apr 2026 12:18:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234622
Björn Fischer <bf@cebitec.uni-bielefeld.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bf@cebitec.uni-bielefeld.de
--- Comment #5 from Björn Fischer <bf@cebitec.uni-bielefeld.de> ---
Created attachment 270180
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=270180&action=edit
updated version of Tim's patch
This issue is still present in FreeBSD-15 [15.0-RELEASE-p6].
Tim's patch still applies and solves the problem. Jilles is correct imho, the
test should be
if (rv == NS_RETURN && *errnop == ERANGE) {
but in the current code errnop should be zero otherwise.
I don't know why the patch keyword was removed from this issue, just to be
sure, here is an updated version of Tim's patch which applies without fuss
(please, credit him for this).
It would be very nice to see this fixed in the next release.
Cheers
Björn Fischer
--
You are receiving this mail because:
You are the assignee for the bug.