Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
heredoc & file descriptor parameter segfault
- X-seq: zsh-workers 40660
- From: Subscriber Grey <subscriber@xxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: heredoc & file descriptor parameter segfault
- Date: Mon, 27 Feb 2017 14:06:44 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greyshirt-net.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=z/nd1WWoykh5+InWxCMyriglvDFNOals+zXZiIBqgg8=; b=bW0jbzjX9ORJxt3i8+QaeMo5R7yIab02EdQsQZR3UoU2J9xA0e9qj2pHC+Juo6Amfr VdhGAtw9CCCYbOOF60Td+xKMnjN4SlIOvL8iXExSYDEd9spLAbq2jmQDVTUfZcbhSMzV gfHiVSEuVSX14V/QPSvRp28ThVQa+ULPE51exJEVkjoRQlpHJLqyVx9Q9jTeElspSp6s 0z5x4izMqsous4El8n0vDUEOQHjZ2At7Na2LKyYlgfn/9D4z2JFC+Xf809bKpDM3zTVo i1nPFW6DOUyiPZkGZmwIetd5gTp0ciHUwd8Q9OuFT6b/RGIrIaec90shA8kAHhWuycor wY6A==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Executing this
> exec {INDOC}<<----
> this is a test
> of the emergency
> broadcast system
> ---
reliably segfaults on
ZSH_VERSION=5.2, OpenBSD 6.0 GENERIC.MP#2319 amd64
ZSH_VERSION=5.3.1, Darwin 16.3.0; root:xnu-3789.31.2~1/RELEASE_X86_64 x86_64
ZSH_VERSION=5.3.1, Linux 4.9.7-x86_64-linode80 #2 SMP x86_64 GNU/Linux
Using any other combination (numeric file descriptor, here-string, etc)
seems to be fine.
This construction does not segfault on versions of bash I have available.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author