Description of problem: Running `scl enable nonexisting whatever` crashed with core dump once to me. I'll attach core dump and backtrace. Version-Release number of selected component (if applicable): $> rpm -q scl-utils scl-utils-2.0-2.fc21.x86_64 How reproducible: sometimes, depending on content of uninitialized memory block Steps to Reproduce: 1. scl enable nonexisting whatever 2. see the crash or at least look at the code ;) Actual results: freeing unallocated and uninitialized memory Expected results: do it right Additional info: I really recommend running Coverity or other static analysis on this package.
Created attachment 981007 [details] gdb full backtrace
Created attachment 981008 [details] core dump
Created attachment 981009 [details] proposed patch (without guarantee)
scl-utils-2.0.1-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/scl-utils-2.0.1-1.fc21
scl-utils-2.0.1-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/scl-utils-2.0.1-1.fc20
Package scl-utils-2.0.1-2.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing scl-utils-2.0.1-2.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-1006/scl-utils-2.0.1-2.fc21 then log in and leave karma (feedback).
scl-utils-2.0.1-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
scl-utils-2.0.1-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.