Bug 567022 - Segfault when passed a non-existant file to -E
Summary: Segfault when passed a non-existant file to -E
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cpio
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 567655
TreeView+ depends on / blocked
 
Reported: 2010-02-21 05:43 UTC by Conrad Meyer
Modified: 2010-03-23 23:34 UTC (History)
2 users (show)

Fixed In Version: cpio-2.9.90-7.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 567655 (view as bug list)
Environment:
Last Closed: 2010-03-05 03:33:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to fix segfault with nonexistant file with patterns (1.45 KB, patch)
2010-02-22 12:16 UTC, Ondrej Vasik
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.