Bug 911878
Summary: | use of uninitialized memory in _fcaps_load because of signed sizeof comparison in cap_get_fd and cap_get_file | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mark Wielaard <mjw> | ||||
Component: | libcap | Assignee: | Karsten Hopp <karsten> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 19 | CC: | karsten | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | libcap-2.22-5.fc18 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-05-24 20:13:13 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: | |||||||
Attachments: |
|
Description
Mark Wielaard
2013-02-16 10:25:36 UTC
Created attachment 698109 [details]
libcap-2.22-signed-sizeof-compare.patch
Fix syscall result check.
BTW. I wanted to check upstream, but the source URL given in the spec file points to an empty directory: http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/ Any update on this or a pointer where upstream is located so I can post my patch there? This is still an issue in f19 with libcap-2.22-5.fc19.x86_64 I think this is the upstream git repository for libcap: http://git.kernel.org/cgit/linux/kernel/git/morgan/libcap.git/ I haven't seen an announcement that libcap is deprecated or got officially replaced by libcap-ng, but there haven't been any commits for a long time. (In reply to comment #4) > I think this is the upstream git repository for libcap: > > http://git.kernel.org/cgit/linux/kernel/git/morgan/libcap.git/ Thanks, I also send the patch to Andrew G. Morgan <morgan>. Could you apply it to the fedora package? libcap-2.22-5.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/libcap-2.22-5.fc18 libcap-2.22-6.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/libcap-2.22-6.fc19 Package libcap-2.22-6.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libcap-2.22-6.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-8170/libcap-2.22-6.fc19 then log in and leave karma (feedback). libcap-2.22-6.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. libcap-2.22-5.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |