Re: Segfault when closing piped stdin on 4.4.11

2017-05-15 Thread Eduardo Bustamante
On Mon, May 15, 2017 at 8:09 PM, Elliott Cable wrote: > I'm no shell-script master, but this is segfaulting my Bash, and I was > able to reproduce it on a couple different systems (including the #bash > shbot :P): > > echo '_() { exec <&- ;}; _ "$0" "$@"' >bleh.sh > cat bleh.sh | bash It'

Segfault when closing piped stdin on 4.4.11

2017-05-15 Thread Elliott Cable
I'm no shell-script master, but this is segfaulting my Bash, and I was able to reproduce it on a couple different systems (including the #bash shbot :P): echo '_() { exec <&- ;}; _ "$0" "$@"' >bleh.sh cat bleh.sh | bash Same doesn't cause any problems in recent `dash` or `zsh`. Someone r

Re: [ANNOUNCEMENT] Updated: libreadline7-7.0.3-3

2017-05-15 Thread Chet Ramey
On 5/15/17 2:19 PM, Eric Blake wrote: >>git checkout readline-7.0-alpha >> >> for the first bad commit, I found that the change to the "rl_insert" >> function in >> "text.c" breaks pasting and Alt codes with "chcp.com 65001". Can you >> work with >> this? >> >> http://git.savannah.gnu.org/cgit

Segmentation fault in expassign when PS1='$[U[0S]+=]'

2017-05-15 Thread Eduardo Bustamante
Starting program: /home/dualbus/src/gnu/bash/bash bash-4.4$ PS1='$[U[0S]+=]' bash: 0S: value too great for base (error token is "0S") bash: : syntax error in expression (error token is "U") $[U[0S]+=] bash: 0S: value too great for base (error token is "0S") Program received signal SIGSEGV, Segment

Segmentation fault in skip_to_delim / bash_directory_completion_hook

2017-05-15 Thread Eduardo Bustamante
dualbus@debian:~/bash-fuzzing/read-readline$ base64 < output/17/crashes/id:000288,sig:11,src:017460+007808,op:splice,rep:8 GxEWGS8YR94ZZB6QGzeQfzcbN45kAh6QGzeQGzcbNxF//y8YRwEaHB6QG+3t7e3t7efte3t7e94u +pYBGxsbKegDVP8BGxlgBHt7e3t7e3sQlvwAcQ7/IuAMFBAbGxsrAKEBAJqampqSljyAFH8bGxlU 9tHXllMkLZYAFxAgUxP6Gh

Re: [ANNOUNCEMENT] Updated: libreadline7-7.0.3-3

2017-05-15 Thread Eric Blake
On 04/14/2017 11:33 PM, Steven Penny wrote: > On Thu, 13 Apr 2017 13:48:04, Eric Blake wrote: Sorry for my delay in noticing this. >> Is it still a problem with pselect, where rebuilding with the same >> configuration as 7.0.1-2 fixes things? I'm really not sure how to even >> go about debugging