Bug 60803

Summary: sort -m core dumps when feeded with an empty file
Product: [Retired] Red Hat Linux Reporter: Linux Now <linuxnow>
Component: textutilsAssignee: wdovlrrw <brosenkr>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: high Docs Contact:
Priority: high    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-03-06 22:24:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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)