[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: null ptr deref in bash
From: |
Chet Ramey |
Subject: |
Re: null ptr deref in bash |
Date: |
Mon, 29 Feb 2016 15:07:49 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
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 line 2 delimited by end-of-file
> (wanted `0')
> test00: line 1: make_here_document: bad instruction type -808464433
This was fixed in bash-4.4-beta, probably as the result of one of your
other reports.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/