Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2026 12:18:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234622] [libc] getgrent() issue with large NIS groups
Message-ID:  <bug-234622-227-rkhUURMiwd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234622-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234622-227-rkhUURMiwd>