$ bash --version
GNU bash, version 5.0.3(1)-release (x86_64-pc-linux-gnu)
$ uname -a
Linux penguin 5.4.40-04224-g891a6cce2d44 #1 SMP PREEMPT Tue Jun 23 20:21:29
PDT 2020 x86_64 GNU/Linux
(This is a Pixelbook running the default Crostini Linux VM under Chrome
OS 84.0.4147.110. I can reproduce the
On 7/31/20 12:43 PM, Oğuz wrote:
> Maybe a minor bug, but certainly a choice. The command substitution keeps
> the jobs list around, since the subshell is supposed to be an exact copy
> of
> the parent, and it's useful to get the output of `jobs' out of command
> substitution.
>
* Chet Ramey , 2020-08-03, 09:15:
On 8/3/20 5:30 AM, Jakub Wilk wrote:
Bash Version: 5.0
Patch Level: 18
Release Status: release
bash crashes with stack overflow when checking syntax of this crafted script:
$ ulimit -s
8192
$ printf 'x[$(($(fi)))`\n%05d\n][`]\n' | tr 0 '(' | bash -
On 8/3/20 5:30 AM, Jakub Wilk wrote:
> Bash Version: 5.0
> Patch Level: 18
> Release Status: release
>
> bash crashes with stack overflow when checking syntax of this crafted script:
>
> $ ulimit -s
> 8192
>
> $ printf 'x[$(($(fi)))`\n%05d\n][`]\n' | tr 0 '(' | bash -n
> bash: comma
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2 -Wno-parentheses -Wno-format-security
uname output: Linux debian 4.19.0-9-cloud-amd64 #1 SMP Debian
4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Version: 5.0
Patch Level: 18
Release