Bug 45631

Summary: grep dumps core when using -C option
Product: [Retired] Red Hat Raw Hide Reporter: Johan Braennlund <johan_brn>
Component: grepAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact: Aaron Brown <abrown>
Severity: low Docs Contact:
Priority: medium    
Version: 1.0   
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: 2001-06-24 11:58:39 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 Johan Braennlund 2001-06-24 11:58:35 UTC
Description of problem:
With grep-2.4.2, using the -C (context) option without specifying number of
lines worked, but with versions 2.5e-3 and 2.5e-4, invoking grep with the
same option dumps core.

How reproducible:
Always

Steps to Reproduce:
1.grep -C regexp file (for any regexp and file)
	

Actual Results:  grep crashes.

Expected Results:  grep should have printed occurrences of regexp in file,
with output context.


Additional info:

Comment 1 Bernhard Rosenkraenzer 2001-06-26 16:05:01 UTC
We've gone back to 2.4.2 - 2.5e was just in the tree to be prepared for when 
2.5final is released.