Re: [PATCH][BUG] Improper handling of SIGINT after running wait causes crash

2016-01-02 Thread Eduardo A . Bustamante López
On Sat, Jan 02, 2016 at 03:08:54PM +0200, Joey Geralnik wrote: > I have found an easily reproducible bug in bash that causes it to crash and > have attached a fix. I think this was already reported here: - https://lists.gnu.org/archive/html/bug-bash/2015-07/msg00022.html And I think the fix is i

Re: [PATCH][BUG] Improper handling of SIGINT after running wait causes crash

2016-01-02 Thread Piotr Grzybowski
hi, nice one. reproducible on: #bash -version GNU bash, version 4.3.42(1)-release (x86_64-apple-darwin10.8.0) not reproducible on the same version on i686-pc-linux-gnu pg On Sat, Jan 2, 2016 at 2:08 PM, Joey Geralnik wrote: > I have found an easily reproducible bug in bash that causes it to

Re: autocd doesn't invoke customized `cd` wrapper

2016-01-02 Thread Piotr Grzybowski
hi, I am not sure if autocd is supposed and expected to run just anything called "cd", but for what its worth, the following patch does what you want. diff --git a/execute_cmd.c b/execute_cmd.c index daa08c2..9a29da0 100644 --- a/execute_cmd.c +++ b/execute_cmd.c @@ -4297,6 +4297,11 @@ run_built

[PATCH][BUG] Improper handling of SIGINT after running wait causes crash

2016-01-02 Thread Joey Geralnik
I have found an easily reproducible bug in bash that causes it to crash and have attached a fix. First, the bug: joey@charmander:~$ wait joey@charmander:~$ ^C joey@charmander:~$ true& [1] 6961 joey@charmander:~$ *** stack smashing detected ***: bash terminated Aborted (core dumped) All you have