From: Bart Schaefer <schaefer@brasslantern.com>
To: Carl Feynman <carlf@abinitio.com>, zsh-workers@sunsite.dk
Subject: Re: Core dump bug in ZSH version 3.0.7
Date: Mon, 12 Nov 2001 18:59:44 +0000 [thread overview]
Message-ID: <1011112185944.ZM19128@candle.brasslantern.com> (raw)
In-Reply-To: <3BF014DD.4060508@abinitio.com>
On Nov 12, 1:28pm, Carl Feynman wrote:
}
} I cut down the offending python code to the following three lines, all
} of which seem to be required to cause the bug:
}
} if (len(sys.argv) > 1) :
} mask = (1 << string.atoi(sys.argv[1])) - 1
} key = string.atoi(sys.argv[2])
I can reproduce it with just the last two of those lines.
It doesn't crash 4.0.x/4.1.x, but it does get into a rather strange state,
trying to read a here-document whose start/end string is a single space,
which of course is impossible (so you're trapped in the here-document until
you interrupt somehow).
zagzig% mask = (1 << string.atoi(sys.argv[1])) - 1
zsh: parse error near `)'
zagzig% key = string.atoi(sys.argv[2])
heredoc>
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
next prev parent reply other threads:[~2001-11-12 19:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-12 18:28 Carl Feynman
2001-11-12 18:59 ` Bart Schaefer [this message]
2001-11-13 18:21 ` PATCH (4.0.x, 4.1.x): " 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=1011112185944.ZM19128@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=carlf@abinitio.com \
--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).