bash-4.3_p39 Segfaults in array_flush at array.c:111 after incorrect conversion from indexed to associative array

2015-08-15 Thread Sergey Tselikh
gives the following output: + aaa + unique=() + declare -g -a unique + bbb repro: line 8: bbb: unique: cannot convert indexed to associative array + unique=() Segmentation fault (core dumped) -- Sergey Tselikh

bash-4.3 p42 Parser bug: for ((; 1<(1);)); do ...; done

2016-05-30 Thread Sergey Tselikh
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-li$ uname output: Linux ubuntu 4.4.0-21-generic #37-Ubuntu SMP Mon Apr