Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1355720
Summary: | crash: double-free with --ignore-lock | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pavel Raiskup <praiskup> | ||||
Component: | createrepo_c | Assignee: | Tomas Mlcoch <tmlcoch> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 25 | CC: | kdudka, praiskup, tmlcoch | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | createrepo_c-0.10.0-6.el7 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1415791 (view as bug list) | Environment: | |||||
Last Closed: | 2017-04-13 00:20:21 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: | |||||||
Bug Blocks: | 1415791, 1420243 | ||||||
Attachments: |
|
Probably src/createrepo_shared.c: - tmp_repodata_dir = tmp; + tmp_repodata_dir = g_strdup(tmp); Should be resolved in this commit: https://github.com/rpm-software-management/createrepo_c/commit/3519f493ce51bac53d178f7ff9e5b84ca98a158a The previous fix wasn't complete: https://github.com/rpm-software-management/createrepo_c/commit/07f5cce3eff5c62f0c16143c7eaab64eb0e3ebf8 This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Can we please backport to F25? Thanks. Proposing fix in private branch: private-praiskup-rhbz-1355720 Tomas, I'm OK to merge this f25+ and submit update if you gave me an ACK. No ACK so far; fixing F25 is not on my radar now (both copr instances have it fixed), but I'll push to F26 very soon to avoid the same issue again in future copr updates. Please stop me now if you think this is a bad idea. Looks good Pavel. Would you be OK if I submitted EPEL7 update, too? There is initiative to make Copr work on el7 machines so it would be nice to have it fixed now when we are on it. Ack. Feel free to update EPEL7 too. createrepo_c-0.10.0-6.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-94499a3eb7 createrepo_c-0.10.0-6.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-94499a3eb7 createrepo_c-0.10.0-6.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 1178852 [details] fedora-23-x86_64.tar.gz Reproducer directory attached: $ tar xf fedora-23-x86_64.tar.gz $ craterepo_c --ignore-lock fedora-23-x86_64