Re: null pointer deref, segfault

2017-01-24 Thread Andreas Schwab
On Jan 24 2017, "Brian 'geeknik' Carpenter" wrote: > <<$(()())|>_[$($(<<0)) crashes bash on Debian, Red Hat, FreeBSD, etc. Worksforme with bash 4.4. $ bash -c '<<$(()())|>_[$($(<<0))' bash: line 1: warning: here-document at line 1 delimited by end-of-file (wanted `0') bash: warning: here-docum

Re: read() may fail due to nonblocking stdin

2017-01-24 Thread Chet Ramey
On 1/24/17 4:16 AM, Siteshwar Vashisht wrote: > > > - Original Message - >> From: "Chet Ramey" >> To: "Siteshwar Vashisht" , bug-bash@gnu.org >> Cc: "chet ramey" >> Sent: Monday, January 23, 2017 8:01:38 PM >> Subject: Re: read() may fail due to nonblocking stdin >> >> Something like th

Re: null pointer deref, segfault

2017-01-24 Thread Chet Ramey
On 1/24/17 2:07 AM, Brian 'geeknik' Carpenter wrote: > Going through some ancient bug reports and I came across > https://savannah.gnu.org/support/index.php?108884 which apparently nobody > uses anymore. > > <<$(()())|>_[$($(<<0)) crashes bash on Debian, Red Hat, FreeBSD, etc. It's marked as `Don

Re: read() may fail due to nonblocking stdin

2017-01-24 Thread Siteshwar Vashisht
- Original Message - > From: "Chet Ramey" > To: "Siteshwar Vashisht" , bug-bash@gnu.org > Cc: "chet ramey" > Sent: Monday, January 23, 2017 8:01:38 PM > Subject: Re: read() may fail due to nonblocking stdin > > Something like this, for instance. Thanks for the patch. Do you plan to in