Bug 1871393 - glibc: nss_compat: internal_end*ent may clobber errno, hiding ERANGE
Summary: glibc: nss_compat: internal_end*ent may clobber errno, hiding ERANGE
Keywords:
Status: CLOSED DUPLICATE of bug 1836867
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: glibc
Version: 8.4
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: Patsy Griffin
QA Contact: qe-baseos-tools-bugs
Zuzana Zoubkova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-23 02:26 UTC by Carlos O'Donell
Modified: 2023-07-18 14:30 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-21 14:27:54 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1402403 0 unspecified CLOSED Oddjob-mkhomedir fails when using NSS compat 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1834816 0 unspecified CLOSED glibc: internal_end*ent in nss_compat may clobber errno, hiding ERANGE 2021-02-22 00:41:40 UTC
Sourceware 25976 0 P2 RESOLVED internal_end*ent in nss_compat may clobber errno, hiding ERANGE 2020-11-25 13:55:35 UTC

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


Note You need to log in before you can comment on or make changes to this bug.