address XXX comment at lines 987-990 in bashfile.c

2015-07-09 Thread Bill Parker
Hello All, In reviewing the code at line 990 in bashfile.c, while the issue of rl_line_buffer[0] = '\0', would it not be better to use memset(rl_line_buffer, '\0', sizeof(rl_line_buffer)) to clobber the entire line more effectively? The patch file below addresses this issue: --- bashline.c.or

New git branch: bash-4.4-testing

2015-07-09 Thread Chet Ramey
There is a new branch in the bash git repository on savannah: bash-4.4-testing. This will hold the various pre-release versions of bash-4.4 until that release is final. The initial set of commits consists of the bash-4.4-alpha release. A more traditional tarfile-based release will follow soon.

Re: bash-4.3 stack smashing

2015-07-09 Thread Greg Wooledge
On Thu, Jul 09, 2015 at 11:44:11AM +0200, Ondrej Oprala wrote: > reproducer: > > PS1="$PS1\$(true)" # command substitution in PS1 seems to be important to > reproduce > wait > ^C > # end of reproducer Confirmed in 4.3.39.

bash-4.3 stack smashing

2015-07-09 Thread Ondrej Oprala
Hi, devel branch's commit 67440b introduced a change in sig.c; specifically, deleting line 608 seems to solve the problem (though I've no idea what else it breaks). reproducer: PS1="$PS1\$(true)" # command substitution in PS1 seems to be important to reproduce wait ^C # end of reproducer Th