While fuzzing bash 4.4.0(1)-beta compiled from the devel branch, I came
across another script which triggers a null ptr dereference and a segfault.
This script seems to crash these other versions of bash as well:
4.2.37(1)-release on x86_64 Debian, 4.3.39(1)-release on x86_64 Red Hat
hexdump -v -
dualbus@hp ~ % bash -c 'a=1; echo "${!a}"' . arg
arg
--
Eduardo Bustamante
http://dualbus.me/
Hello.
In:
bash -c 'sh -c "trap exit INT; sleep 10; :"; echo hi'
If I press Ctrl-C, I still see "hi".
On Solaris with 4.1.11(2)-release (i386-pc-solaris2.11), that
seems to be consistent.
On Debian with 4.3.42(1)-release (x86_64-pc-linux-gnu), that
seems to happen only in something like 80% of