Bug 103621

Summary: Arithmetic expansion crashes on array cells with values: <num><word>*
Product: [Retired] Red Hat Linux Reporter: Kyriakos Sidiropoulos <ksidirop>
Component: bashAssignee: Tim Waugh <twaugh>
Status: CLOSED UPSTREAM QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: xscale   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-09-04 09:51:26 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 Kyriakos Sidiropoulos 2003-09-03 07:44:39 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030822

Description of problem:


Version-Release number of selected component (if applicable):
bash-2.05b-20

How reproducible:
Always

Steps to Reproduce:
1. Copy paste this in a file:

#! /bin/bash
i=896786k; $(( i[0] ))

2. chmod 755 <file>
3. ./<file>

Actual Results:  [...]: line 3: 896786k: value too great for base (error token
is "896786k")
segmentation fault



Expected Results:  Only the error message

Additional info:

Comment 1 Tim Waugh 2003-09-04 09:51:26 UTC
Reported upstream:

http://mail.gnu.org/archive/html/bug-bash/2003-09/msg00098.html