Re: Another heap out of bounds read in bash

2016-07-09 Thread Chet Ramey
On 7/8/16 6:25 PM, Hanno Böck wrote: > Hi, > > I discovered a heap out of bounds read, visible with address sanitizer > (also with valgrind). Thanks for the report. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Che

Another heap out of bounds read in bash

2016-07-09 Thread Hanno Böck
Hi, I discovered a heap out of bounds read, visible with address sanitizer (also with valgrind). To reproduce: * Build bash with address sanitizer: ./configure CFLAGS="-fsanitize=address -g" CXX="-fsanitize=addres -g" LDFLAGS="-fsanitize=address" --without-bash-malloc * Run bash: ./bash * Type &