[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash crash processing b=b+1 after array read
From: |
Chet Ramey |
Subject: |
Re: bash crash processing b=b+1 after array read |
Date: |
Mon, 25 Feb 2013 16:52:46 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130216 Thunderbird/17.0.3 |
On 2/24/13 11:59 PM, phil colbourn wrote:
> Bash Version: 4.2
> Patch Level: 37
> Release Status: release
>
> Description:
>
> Within (( )), 'b=b+1' will crash bash with a segment fault if it follows an
> array read such as 'a=X[b]'.
Thanks for the report and the test case. This was reported previously
and fixed in early January. The fixed version is available in the `devel'
branch of the git tree on savannah.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/