Bug 429231

Summary: "dos2unix -c" results in segmentation fault
Product: Red Hat Enterprise Linux 5 Reporter: Peng Haitao <penght>
Component: dos2unixAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.1CC: jplans, pknirsch, psplicha, tao
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: i686   
OS: Linux   
Fixed In Version: 3.1-30.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 531927 (view as bug list) Environment:
Last Closed: 2009-02-11 14:28:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 531927    
Description Flags
This is a patch fixing this bug none

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.