From: Kamil Dudka <kdudka@redhat.com>
To: "Paulo César Pereira de Andrade"
<paulo.cesar.pereira.de.andrade@gmail.com>
Cc: zsh-users@zsh.org
Subject: Re: zsh heredoc crash
Date: Fri, 09 Sep 2016 16:33:19 +0200 [thread overview]
Message-ID: <25855010.qczLe9GZ8n@kdudka-nb> (raw)
In-Reply-To: <CAHAq8pEm1FHNvoUJUq2t86P-QKtMdT3uScDUGn-dCscJUGvWew@mail.gmail.com>
On Friday, September 09, 2016 10:00:54 Paulo César Pereira de Andrade wrote:
> Hi,
>
> zsh (tested on 5.0.2) can be made to crash with a pattern
> like this:
>
> ---8<---
> #!/usr/bin/zsh
>
> cat >> /tmp/try <<EOF
> export A="$(tr '\n' ' ' <<BLDARC
> content
> BLDARC)"
> EOF
> ---8<---
I was not able to make upstream zsh 5.0.2 crash with the above reproducer.
The bug seems to be introduced with the following commit:
https://sourceforge.net/p/zsh/code/ci/c0d01a6f
... and fixed with the following commit:
https://sourceforge.net/p/zsh/code/ci/c6c9f5da
Kamil
next prev parent reply other threads:[~2016-09-09 14:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-09 13:00 Paulo César Pereira de Andrade
2016-09-09 14:33 ` Kamil Dudka [this message]
2016-09-09 16:35 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25855010.qczLe9GZ8n@kdudka-nb \
--to=kdudka@redhat.com \
--cc=paulo.cesar.pereira.de.andrade@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).