Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: SEGV in history when searching a null list
- X-seq: zsh-workers 25707
- From: Peter Stephenson <pws@xxxxxxx>
- To: "Zsh hackers list" <zsh-workers@xxxxxxxxxx>
- Subject: Re: SEGV in history when searching a null list
- Date: Mon, 22 Sep 2008 09:47:23 +0100
- In-reply-to: <6cd6de210809200814v6e4fbb82k8692845645de9c2f@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: CSR
- References: <6cd6de210809200814v6e4fbb82k8692845645de9c2f@xxxxxxxxxxxxxx>
On Sat, 20 Sep 2008 11:14:30 -0400
"Rocky Bernstein" <rocky.bernstein@xxxxxxxxx> wrote:
> Found this bug when adding history to zshdb:
>
> #!/usr/local/bin/zsh -if
> history -ap ./$$
> fc -l commands
>
> Program received signal SIGSEGV, Segmentation fault.
>
> A possible patch should be attached.
Thanks, that certainly looks safe. I've committed it.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author