Bug 45631 - grep dumps core when using -C option
Summary: grep dumps core when using -C option
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: grep
Version: 1.0
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-06-24 11:58 UTC by Johan Braennlund
Modified: 2007-04-18 16:33 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-06-24 11:58:39 UTC
Embargoed:


Attachments (Terms of Use)

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.



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