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

I can reproduce *a* crash, not necessarily *the* crash, by making a
2x2 window and then maximizing/unmaximizing the window. It seems to
not reproduce if I have run any commands in the shell.

On 6/28/19, Oliver Kiddle <okiddle@xxxxxxxxxxx> 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

Mikael Magnusson

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