Bug 1871393

Summary: glibc: nss_compat: internal_end*ent may clobber errno, hiding ERANGE
Product: Red Hat Enterprise Linux 8 Reporter: Carlos O'Donell <codonell>
Component: glibcAssignee: Patsy Griffin <pfrankli>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-tools-bugs
Severity: medium Docs Contact: Zuzana Zoubkova <zzoubkov>
Priority: unspecified    
Version: 8.4CC: ashankar, codonell, dj, fweimer, mnewsome, pfrankli, sipoyare, skolosov, vmukhame
Target Milestone: rc   
Target Release: 8.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-21 14:27:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Carlos O'Donell 2020-08-23 02:26:05 UTC
Backport the following commit to fix upstream bug 25976:

790b8dda4455865cb8c3a47801f4304c1a43baf6
nss_compat: internal_end*ent may clobber errno, hiding ERANGE [BZ #25976]

This also improves failure modes involving the SSSD NSS plugin, see:
https://bugzilla.redhat.com/show_bug.cgi?id=1402403

Also we don't want to regress the fix in RHEL 7.9:
https://bugzilla.redhat.com/show_bug.cgi?id=1834816