Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 83605

Summary: ash crashes when given an invalid variable construct to evaluate
Product: [Retired] Red Hat Linux Reporter: Need Real Name <vader>
Component: ashAssignee: Lon Hohberger <lhh>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: high Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-02-19 14:13:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Need Real Name 2003-02-06 07:16:22 UTC
Description of problem:
ash crashes when given an invalid variable construct to evaluate

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

How reproducible:
$ echo ${PWD:1}
Syntax error: Bad substitution
Segmentation fault

Steps to Reproduce:
See above.
Actual results:
Segmentation fault

Expected results:
Bad substitution, then return to shell prompt

Additional info:
I was just testing ash to see whether it supported this construct; apparently it
does not, but it shouldn't crash as a result.

Comment 1 Lon Hohberger 2003-02-06 15:25:11 UTC
ash-0.3.8-8 should be in rawhide addressing this problem soon

Comment 2 Lon Hohberger 2003-02-19 14:13:47 UTC
Check RawHide:

or my page (until the next release):