From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23629 invoked by alias); 9 Sep 2016 14:41:54 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21859 Received: (qmail 10194 invoked from network); 9 Sep 2016 14:41:54 -0000 X-Qmail-Scanner-Diagnostics: from mx1.redhat.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.132.183.28):SA:0(-1.1/5.0):. Processed in 1.151882 secs); 09 Sep 2016 14:41:54 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=RP_MATCHES_RCVD,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: kdudka@redhat.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf1.redhat.com designates 209.132.183.28 as permitted sender) From: Kamil Dudka To: Paulo =?ISO-8859-1?Q?C=E9sar?= Pereira de Andrade Cc: zsh-users@zsh.org Subject: Re: zsh heredoc crash Date: Fri, 09 Sep 2016 16:33:19 +0200 Message-ID: <25855010.qczLe9GZ8n@kdudka-nb> User-Agent: KMail/4.14.10 (Linux/4.7.2-gentoo; KDE/4.14.20; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Fri, 09 Sep 2016 14:33:16 +0000 (UTC) On Friday, September 09, 2016 10:00:54 Paulo C=E9sar Pereira de Andrade= wrote: > Hi, >=20 > zsh (tested on 5.0.2) can be made to crash with a pattern > like this: >=20 > ---8<--- > #!/usr/bin/zsh >=20 > cat >> /tmp/try < export A=3D"$(tr '\n' ' ' < content > BLDARC)" > EOF > ---8<--- I was not able to make upstream zsh 5.0.2 crash with the above reproduc= er. 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