Bug 2063142
| Summary: | glibc: NSS framework can report incorrect lookup result if function lookup clobbers errno | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Florian Weimer <fweimer> |
| Component: | glibc | Assignee: | Florian Weimer <fweimer> |
| Status: | CLOSED ERRATA | QA Contact: | Sergey Kolosov <skolosov> |
| Severity: | medium | Docs Contact: | Jacob Taylor Valdez <jvaldez> |
| Priority: | low | ||
| Version: | 9.0 | CC: | ashankar, codonell, dj, fweimer, jvaldez, mnewsome, pfrankli, sipoyare |
| Target Milestone: | rc | Keywords: | Bugfix, Triaged |
| Target Release: | 9.1 | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | glibc-2.34-29.el9 | Doc Type: | Bug Fix |
| Doc Text: |
.`glibc` now restores errno after loading an NSS module
Previously, the Name Service Switch (NSS) implementation in `glibc` set errno incorrectly during database enumeration using functions such as `getpwent()` if the last NSS module did not provide any data. As a result, applications using these enumeration functions incorrectly observed errors and failed. `glibc` now restores errno after loading an NSS module and, as a result, applications using these functions no longer fail.
|
Story Points: | --- |
| Clone Of: | 2061727 | Environment: | |
| Last Closed: | 2022-11-15 11:11:43 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: | |||
| Bug Depends On: | 2063230 | ||
| Bug Blocks: | 2061727 | ||
|
Description
Florian Weimer
2022-03-11 11:07:41 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (glibc bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:8272 |