Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: SEGV in history when searching a null list



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