Back to bug 2063142
| Who | When | What | Removed | Added |
|---|---|---|---|---|
| Red Hat Bugzilla | 2022-03-11 11:07:41 UTC | Pool ID | sst_pt_gcc_glibc_rhel_9 | |
| Red Hat One Jira (issues.redhat.com) | 2022-03-11 11:11:31 UTC | Link ID | Red Hat Issue Tracker RHELPLAN-115330 | |
| Florian Weimer | 2022-03-11 11:15:06 UTC | Comment | 0 | updated |
| Florian Weimer | 2022-03-11 11:28:18 UTC | Doc Type | If docs needed, set a value | Bug Fix |
| Doc Text | Cause: The Name Service Switch implementation in glibc may set errno incorrectly during database enumeration using functions such as getpwent() if the last NSS service module does not provide any data. Consequence: Applications using enumeration functions like getpwent() incorrectly observe an error and fail. Fix: glibc now restores errno after loading an NSS module. Result: Applications calling getpwent() and similar functions can detect errors by setting errno to 0 prior to the call, and checking errno after the call. |
|||
| Florian Weimer | 2022-03-11 14:43:06 UTC | Depends On | 2063230 | |
| Martin Cermak | 2022-03-14 14:19:21 UTC | QA Contact | qe-baseos-tools-bugs | skolosov |
| Florian Weimer | 2022-03-15 08:04:43 UTC | Status | NEW | ASSIGNED |
| Assignee | glibc-bugzilla | fweimer | ||
| Florian Weimer | 2022-03-15 13:05:36 UTC | Fixed In Version | glibc-2.34-29.el9 | |
| Status | ASSIGNED | MODIFIED | ||
| errata-xmlrpc | 2022-03-24 17:28:27 UTC | Status | MODIFIED | ON_QA |
| Sergey Kolosov | 2022-04-08 14:55:12 UTC | Status | ON_QA | VERIFIED |
| Jacob Taylor Valdez | 2022-07-20 10:38:23 UTC | Flags | needinfo?(fweimer) | |
| Doc Text | Cause: The Name Service Switch implementation in glibc may set errno incorrectly during database enumeration using functions such as getpwent() if the last NSS service module does not provide any data. Consequence: Applications using enumeration functions like getpwent() incorrectly observe an error and fail. Fix: glibc now restores errno after loading an NSS module. Result: Applications calling getpwent() and similar functions can detect errors by setting errno to 0 prior to the call, and checking errno after the call. | .`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. | ||
| CC | jvaldez | |||
| Jacob Taylor Valdez | 2022-07-20 10:38:52 UTC | Docs Contact | jvaldez | |
| Florian Weimer | 2022-07-20 11:04:47 UTC | Flags | needinfo?(fweimer) | |
| errata-xmlrpc | 2022-11-15 00:19:12 UTC | Status | VERIFIED | RELEASE_PENDING |
| errata-xmlrpc | 2022-11-15 11:11:43 UTC | Status | RELEASE_PENDING | CLOSED |
| Resolution | --- | ERRATA | ||
| Last Closed | 2022-11-15 11:11:43 UTC | |||
| errata-xmlrpc | 2022-11-15 11:12:07 UTC | Link ID | Red Hat Product Errata RHBA-2022:8272 | |
| Mark O'Brien | 2023-07-18 14:29:19 UTC | Pool ID | sst_pt_glibc_rhel_9 | sst_pt_libraries_rhel_9 |
Back to bug 2063142