Bug 567022

Summary: Segfault when passed a non-existant file to -E
Product: [Fedora] Fedora Reporter: Conrad Meyer <cse.cem+redhatbugz>
Component: cpioAssignee: Ondrej Vasik <ovasik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: kdudka, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cpio-2.9.90-7.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 567655 (view as bug list) Environment:
Last Closed: 2010-03-05 03:33:27 UTC Type: ---
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: 567655    
Attachments:
Description Flags
patch to fix segfault with nonexistant file with patterns none

Description Conrad Meyer 2010-02-21 05:43:08 UTC
Bug has already been reported to upstream, this is just for tracking; we should patch it either now or when upstream fixes it.

Upstream bug url:
http://savannah.gnu.org/bugs/index.php?28954

Comment 1 Ondrej Vasik 2010-02-22 12:16:20 UTC
Created attachment 395458 [details]
patch to fix segfault with nonexistant file with patterns

Thanks for report and analysis. As -E option just reads additional patterns, I would prefer to skip reading of those patterns when fopen is not succesful instead of simple exit.

Comment 2 Conrad Meyer 2010-02-22 15:24:38 UTC
Sure, that sounds like a reasonable behavior.

Comment 3 Fedora Update System 2010-02-25 09:20:31 UTC
cpio-2.10-5.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/cpio-2.10-5.fc13

Comment 4 Fedora Update System 2010-02-25 09:21:28 UTC
cpio-2.10-4.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/cpio-2.10-4.fc12

Comment 5 Fedora Update System 2010-02-25 09:22:46 UTC
cpio-2.9.90-7.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/cpio-2.9.90-7.fc11

Comment 6 Fedora Update System 2010-02-25 12:47:12 UTC
cpio-2.10-5.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update cpio'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F13/FEDORA-2010-2859

Comment 7 Fedora Update System 2010-02-26 03:36:04 UTC
cpio-2.10-4.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update cpio'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-2895

Comment 8 Fedora Update System 2010-02-26 03:38:29 UTC
cpio-2.9.90-7.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update cpio'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-2927

Comment 9 Fedora Update System 2010-03-05 03:33:22 UTC
cpio-2.10-5.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2010-03-09 03:16:33 UTC
cpio-2.10-4.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2010-03-23 23:33:57 UTC
cpio-2.9.90-7.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.