> >> 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(). > > > 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...?
It will probably be a patch for bash-4.0, and will certainly be in bash-4.1. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/