Bug 83605 - ash crashes when given an invalid variable construct to evaluate
ash crashes when given an invalid variable construct to evaluate
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: ash (Show other bugs)
8.0
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Lon Hohberger
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-06 02:16 EST by Need Real Name
Modified: 2007-04-18 12:50 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-02-19 09:13:47 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2003-02-06 02:16:22 EST
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 10:25:11 EST
ash-0.3.8-8 should be in rawhide addressing this problem soon

Comment 2 Lon Hohberger 2003-02-19 09:13:47 EST
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/

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