[PATCH] nss_compat: internal_end*ent may clobber errno, hiding ERANGE [BZ #25976]
Florian Weimer
fweimer@redhat.com
Thu May 14 12:10:45 GMT 2020
* Florian Weimer via Libc-alpha:
> Change the internal_end*ent functions to preserve errno because they
> are called on error-returning paths, where the value of errno matters.
>
> For the external-facing _nss_compat_end*ent functions, this is not
> required because they always report success, so they may clobber
> errno.
Internal discussion at Red Hat convinced me that the patch does not go
into the right direction, so I'm withdrawing it for now.
Thanks,
Florian
More information about the Libc-alpha
mailing list