Crash in 2.3.x
Pavel Sanda
sanda at lyx.org
Wed Oct 13 20:05:51 UTC 2021
On Tue, Oct 12, 2021 at 07:50:47AM +0200, Jürgen Spitzmüller wrote:
> Am Montag, dem 11.10.2021 um 21:37 +0200 schrieb Pavel Sanda:
> > I quickly went through the original patch now, just wanted to double
> > check that in two points - parent on GuiPrefs.cpp:3450 and
> > item(character) on BulletsModule.cpp:162 we can't reach null (it was
> > not self-obvious from the code to me).
>
> There was no null check in the old code here, but to be sure, you can
> add safety checks at these places.
Yes, I think it might be needed, because there was no null check for this
crash in the old code either. Various setXX routines probably have internal
null check inside Qt machinery.
Pavel
More information about the lyx-devel
mailing list