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

Re: [PATCH] {,un}applychange: do not call zle_setline(NULL) if quietgethist() fails



On Friday, June 28, 2019 1:01:25 AM CEST Oliver Kiddle wrote:
> Kamil Dudka wrote:
> > There is a bug report in Red Hat Bugzilla about zsh crashing on NULL
> > pointer dereference: https://bugzilla.redhat.com/1722703
> > 
> > I was not able to reproduce the crash myself but the attached patch
> > should prevent zsh from crashing in this situation.
> 
> It'd perhaps be good to add a DPUTS call here because while it is good
> not to crash the condition does perhaps indicate a bug and it'd be
> better not to hide it completely. I can't reproduce the crash either but
> there must be some plugins or url quoting magic going on here.
> More details of the setup used by the user might help find the
> underlying problem.
> 
> Oliver

Thank you for analyzing it!  I do not have any more information than
what is available in the mentioned bugzilla.  So I asked the reporter
about their setup.

Kamil




Messages sorted by: Reverse Date, Date, Thread, Author