On 08/25/2009 04:47 PM, 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.  Your patch introduces large memory leaks;
the right place to fix it is where the code passes a literal string to
assoc_insert().

Chet

Nice, thanks. This fix (and others) will be in other round of patches for bash-4.0 or in bash-4.1 or in bash-5.0 or...?
RR

Reply via email to