GNU bug report logs - #58334
29.0.50; ASAN heap use after free in gui_produce_glyphs

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Thu, 6 Oct 2022 15:04:01 UTC

Severity: normal

Found in version 29.0.50

Full log


Message #11 received at 58334 <at> debbugs.gnu.org (full text, mbox):

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 58334 <at> debbugs.gnu.org, Po Lu <luangruo <at> yahoo.com>
Subject: Re: bug#58334: 29.0.50; ASAN heap use after free in gui_produce_glyphs
Date: Thu, 06 Oct 2022 20:01:21 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Is there a way to prevent freeing realized faces?
>
> Yes: set inhibit_free_realized_faces non-zero (and record
> unwind_protect to restore it).

Thanks.

>
> It sounds like we need to do that in probably_quit, at least for NS
> builds, because it could trigger redisplay, sigh...

Right, sigh...  But it's getting easier to make sense of this weird
stuff.

Po Lu, is this also something for Haiku?




This bug report was last modified 2 years and 311 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.