bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unset associative array may cause segfault


From: Chet Ramey
Subject: Re: unset associative array may cause segfault
Date: Tue, 25 Aug 2009 11:12:04 -0400
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

Chris F.A. Johnson wrote:
> On Tue, 25 Aug 2009, Chet Ramey wrote:
> 
>> Roman Rakus wrote:
>>> reproducer:
>>> declare -A aaa
>>> aaa='somestring'
>>> unset aaa
>>>
>>> This commands cause segmentation fault, free unallocated memory.
>>> Chet do you already fix it? Here is my fast patch.
>> I already fixed it, thanks.
> 
>     Do you have a patch for it? It's not fixed with the patches posted so far.

For Pete's sake, I just fixed it last night.  It will be in the next
round of patches.


-- 
``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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]