Re: null ptr deref in bash

2016-02-29 Thread Chet Ramey
On 2/29/16 12:57 PM, Brian Carpenter wrote: > <<0 r["$(<<0)"] triggers a null ptr deref and segfault in bash > 4.2.37(1)-release, 4.3.30(1)-release and 4.3.42(1)-release. This bug was > found with American Fuzzy Lop. > > valgrind -q ~/bash/bash test00 > test00: line 2: warning: here-document at li

null ptr deref in bash

2016-02-29 Thread Brian Carpenter
<<0 r["$(<<0)"] triggers a null ptr deref and segfault in bash 4.2.37(1)-release, 4.3.30(1)-release and 4.3.42(1)-release. This bug was found with American Fuzzy Lop. valgrind -q ~/bash/bash test00 test00: line 2: warning: here-document at line 2 delimited by end-of-file (wanted `0') test00: line