zsh-workers
 help / color / mirror / code / Atom feed
From: matthieu kermagoret <matthieu.kermagoret@epita.fr>
To: zsh-workers@sunsite.dk
Subject: [Bug] ZSH segmentation fault
Date: Sun, 3 Jun 2007 12:02:20 +0200 (CEST)	[thread overview]
Message-ID: <200706031002.l53A2KT10810@epita.fr> (raw)

Hello !

I just found a bug in ZSH with double left redirection.
First I generate a file like this :
> echo "cat << EOF" > segfault_file
> for i in `seq 10000`; do echo `printf "%010000d" 0` >> segfault_file; done

Then I try to make it execute to ZSH like this :
> zsh < segfault_file

After a little while ZSH segfaults !
This was successfully reproduced over Linux and NetBSD.

I hope you'll find it useful.


--
Matthieu KERMAGORET
matthieu.kermagoret@epitech.net


             reply	other threads:[~2007-06-03 10:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <matthieu.kermagoret@epita.fr>
2007-06-03 10:02 ` matthieu kermagoret [this message]
2007-06-03 14:30   ` Peter Stephenson
2007-06-03 16:43     ` DervishD
2007-06-03 17:36       ` Peter Stephenson
2007-06-03 19:16         ` DervishD
2007-06-04  0:55         ` Bart Schaefer

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=200706031002.l53A2KT10810@epita.fr \
    --to=matthieu.kermagoret@epita.fr \
    --cc=zsh-workers@sunsite.dk \
    /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).