Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Core dump bug in ZSH version 3.0.7
- X-seq: zsh-workers 16243
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Carl Feynman <carlf@xxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: Re: Core dump bug in ZSH version 3.0.7
- Date: Mon, 12 Nov 2001 18:59:44 +0000
- In-reply-to: <3BF014DD.4060508@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <3BF014DD.4060508@xxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author