Re: memory leak in execute_simple_command when dofork is true

2016-11-05 Thread Chet Ramey
On 11/4/16 2:02 AM, Eduardo A. Bustamante López wrote: > Actually, there are more leaks in execute_cmd.c, I'm just going to list them > here. Thanks for the pointers, no pun intended. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis''

Re: memory leak in execute_simple_command when dofork is true

2016-11-04 Thread Chet Ramey
On 11/4/16 2:02 AM, Eduardo A. Bustamante López wrote: > Actually, there are more leaks in execute_cmd.c, I'm just going to list them > here. Same. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU

Re: memory leak in execute_simple_command when dofork is true

2016-11-04 Thread Chet Ramey
On 11/4/16 12:35 AM, Eduardo A. Bustamante López wrote: > I ran the configure script with the following arguments: > > hp% ./configure CC=gcc-6 CFLAGS='-Wall -g -ggdb -O0 -fsanitize=address' > LDFLAGS=-fsanitize=address --without-bash-malloc > > Which enables the LeakSanitizer > (https://gi

Re: memory leak in execute_simple_command when dofork is true

2016-11-03 Thread Eduardo A . Bustamante López
Actually, there are more leaks in execute_cmd.c, I'm just going to list them here. --- hp% ./bash -c '(:)' = ==7