Bug 186491 - segmentation fault when using dos2unix
Summary: segmentation fault when using dos2unix
Keywords:
Status: CLOSED DUPLICATE of bug 186490
Alias: None
Product: Fedora
Classification: Fedora
Component: dos2unix
Version: 3
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-23 20:47 UTC by Daniel
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-03-23 23:05:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel 2006-03-23 20:47:04 UTC
Description of problem:
When passing a particular length of path to dos2unix we get a segmentation 
fault.

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

How reproducible:
In certain cases...I reproduce it with a pathname of length=63 without the 
trailing '/'

Steps to Reproduce:
1.
2.
3.
  
Actual results:
dos2unix: converting 
file /home/danielc/1234567891123456789212345678931234567894123456789/bob.tmp 
to UNIX format ...
fname_len=76     (path + /d2utmpXXXXXX)
Segmentation fault

Expected results:
no segmentation fault :)

Additional info: see patch

Comment 1 Miloslav Trmač 2006-03-23 23:05:28 UTC

*** This bug has been marked as a duplicate of 186490 ***


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