[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Declaring an empty global var as a reference in a function twice cra
From: |
Chet Ramey |
Subject: |
Re: Declaring an empty global var as a reference in a function twice crashes bash |
Date: |
Sun, 22 Mar 2015 21:25:06 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 3/22/15 3:55 AM, Arthur200000 wrote:
> Bash Version: 4.3
> Patch Level: 26
> Release Status: release
>
> Description:
> When you have already set a variable to empty, running `declare -gn
> varname` in a function twice crash bash with a Segment Fault.
Thanks for the report. This will be fixed in the next release of bash.
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/