Re: heap-use-after-free in GNU Bash 4.4.0

2016-09-10 Thread Chet Ramey
On 9/9/16 9:35 AM, Franco Costantini wrote: > Hi, > > we recently found an invalid memory access parsing and executing fuzzed > bash code in GNU Bash 4.4.0 (bash-20160826 snapshot, found in > http://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=79eedac429c5112ae65a430674de5e4be1cd5444). T

Re: Question: is this a bug in BASh (pre-exec trap)

2016-09-10 Thread Chet Ramey
On 9/9/16 2:00 PM, Matthew Giassa wrote: > Good day, > > I've been doing some testing with the bash-prexec script which uses a > DEBUG trap to issue user-supplied functions before executing each > command (https://github.com/rcaloras/bash-preexec). > > Here is a minimal working example > (https: