[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: null pointer deref, segfault
From: |
Andreas Schwab |
Subject: |
Re: null pointer deref, segfault |
Date: |
Tue, 24 Jan 2017 19:46:20 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 (gnu/linux) |
On Jan 24 2017, "Brian 'geeknik' Carpenter" <brian.carpenter@gmail.com> 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-document at line 0 delimited by end-of-file (wanted
`$(()())')
bash: line 1: warning: here-document at line 1 delimited by end-of-file (wanted
`0')
bash: warning: here-document at line 0 delimited by end-of-file (wanted `0')
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."