Bug 176810 - "bash -c time" will SEGV
Summary: "bash -c time" will SEGV
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: bash
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-03 08:07 UTC by Russell Coker
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 3.1-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-01-03 10:27:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Russell Coker 2006-01-03 08:07:59 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.92 (like Gecko)

Description of problem:
"bash -c time abc" will SEGV.  Sure this is a syntax error for a bash command, 
but that's no excuse for a SEGV. 

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

How reproducible:
Always

Steps to Reproduce:
Type "bash -c time ls" (any parameter after "time" will do it, even no 
parameter is fine).  

Actual Results:  SEGV 

Expected Results:  Should have reported 0 seconds elapsed or a parameter error. 

Additional info:

Comment 1 Tim Waugh 2006-01-03 10:27:12 UTC
Fixed in bash-3.1-1.


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