Bug 429231 - "dos2unix -c" results in segmentation fault
Summary: "dos2unix -c" results in segmentation fault
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: dos2unix
Version: 5.1
Hardware: i686
OS: Linux
Target Milestone: rc
: ---
Assignee: Tim Waugh
QA Contact:
Keywords: Reopened
Depends On:
Blocks: 531927
TreeView+ depends on / blocked
Reported: 2008-01-18 03:00 UTC by Peng Haitao
Modified: 2018-10-20 03:13 UTC (History)
4 users (show)

Clone Of:
: 531927 (view as bug list)
Last Closed: 2009-02-11 14:28:48 UTC

Attachments (Terms of Use)
This is a patch fixing this bug (1.56 KB, patch)
2008-01-18 03:00 UTC, Peng Haitao
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:0276 normal SHIPPED_LIVE dos2unix bug fix update 2009-02-11 14:28:47 UTC

Description Peng Haitao 2008-01-18 03:00:24 UTC
Description of problem:
Use dos2uinx with option "-c convmode" when convmode is not specified,
Segmentation Fault will occur.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.dos2unix -c
Actual results:
Segmentation fault

Expected results:
dos2unix: option `-c' requires an argument

Additional info:

Comment 1 Peng Haitao 2008-01-18 03:00:24 UTC
Created attachment 292100 [details]
This is a patch fixing this bug

Comment 2 Tim Waugh 2008-01-18 09:33:46 UTC
Thank you for the patch.  I have applied this in rawhide (for Fedora 9), but
will not be making an update for Red Hat Enterprise Linux 5 for this issue.

Comment 3 Tim Waugh 2008-08-04 08:26:22 UTC
Re-opening in case there is another dos2unix update, in which case we can try to get this fix in at the same time.

Comment 10 errata-xmlrpc 2009-02-11 14:28:48 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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