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   
Whiteboard:
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:
Embargoed:

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):
ash-0.3.8-5

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:

ftp://ftp.redhat.com/pub/redht/linux/rawhide/i386/RedHat/RPMS/ash-0.3.8-8.i386.rpm

or my people.redhat.com page (until the next release):

http://people.redhat.com/lhh/