Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh heredoc crash



On Fri, 9 Sep 2016 16:33:19 +0200
Kamil Dudka <kdudka@xxxxxxxxxx> wrote:
> On Friday, September 09, 2016 10:00:54 Paulo César Pereira de Andrade wrote:
> > ---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

That's the underlying bug Paulo is talking about, yes
(zsh-workers/34322).

pws



Messages sorted by: Reverse Date, Date, Thread, Author