[Bug 252094] nss "compat": getpw(nam|uid)_r(3) inadvertently reset next entry key for getpwent_r(3)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jan 5 18:34:51 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252094
--- Comment #3 from Viktor Dukhovni <ietf-dane at dukhovni.org> ---
(In reply to Mark Johnston from comment #2)
Cool! Thanks. If you would in particular let me know the general approach
you'd like to see taken to address the issue in the "group" case, I can write
the patch if you're pressed for time. I just need to know whether it'd be OK
to just open the file each time with the nam/gid calls, or whether you feel the
documented optimisation is still important, in which case, a bit more surgery
is required in the "ent" iterator to save/restore file offsets.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list