Bug 2021214
Summary: | getgroups does not work correctly with FORTIFY_SOURCE=2 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pavel Březina <pbrezina> |
Component: | uid_wrapper | Assignee: | Andreas Schneider <asn> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | asn, atikhono, fweimer, jhrozek, madam, pbrezina |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | uid_wrapper-1.2.9-1.fc36 uid_wrapper-1.2.9-1.fc35 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-12-02 14:04:14 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
Pavel Březina
2021-11-08 15:19:57 UTC
Thank you Andreas for quickly providing test commit: https://gitlab.com/cryptomilk/uid_wrapper/-/commit/7e59f2f40cb1dd5b5821c891e82f3d7cc1673709 It works with the following change: --- a/src/uid_wrapper.c +++ b/src/uid_wrapper.c @@ -2152,9 +2152,9 @@ static int uwrap___getgroups_chk(int size, gid_t *list, size_t listlen) return uwrap_getgroups(size, list); } -int __getgroups__chk(int size, gid_t *list, size_t listlen); +int __getgroups_chk(int size, gid_t *list, size_t listlen); -int __getgroups__chk(int size, gid_t *list, size_t listlen) +int __getgroups_chk(int size, gid_t *list, size_t listlen) { if (!uid_wrapper_enabled()) { return libc___getgroups_chk(size, list, listlen) FEDORA-2021-db66a05dc4 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-db66a05dc4 FEDORA-2021-db66a05dc4 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-30ce6831c9 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-30ce6831c9 FEDORA-2021-30ce6831c9 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-30ce6831c9` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-30ce6831c9 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-30ce6831c9 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. |