Bug 60803 - sort -m core dumps when feeded with an empty file
Summary: sort -m core dumps when feeded with an empty file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: textutils
Version: 7.2
Hardware: i386
OS: Linux
high
high
Target Milestone: ---
Assignee: wdovlrrw
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-03-06 22:24 UTC by Linux Now
Modified: 2005-10-31 22:00 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-03-06 22:24:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Linux Now 2002-03-06 22:24:38 UTC
Description of Problem:

When you use the -m switch to merge already sorted files, if one of them is empty
sort core dumps.

If you remove the switch then everything works.

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

I'm using textutils-2.0.14-2 in a rh7.2 system fully updated.

How Reproducible:

sort -m empty_file1 empty_file2

Steps to Reproduce:
1. 
2. 
3. 

Actual Results:

Segmentation Fault

Expected Results:


Additional Information:
	
witout -m works

Comment 1 Bernhard Rosenkraenzer 2002-03-07 14:48:57 UTC
Fixed in the current version (2.0.21-0.7)



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