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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: luangruo <at> yahoo.com, 58334 <at> debbugs.gnu.org
Subject: bug#58334: 29.0.50; ASAN heap use after free in gui_produce_glyphs
Date: Fri, 07 Oct 2022 14:08:05 +0300
> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
> Cc: Po Lu <luangruo <at> yahoo.com>,  58334 <at> debbugs.gnu.org
> Date: Fri, 07 Oct 2022 10:07:01 +0200
> 
> Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:
> 
> > Eli Zaretskii <eliz <at> gnu.org> writes:
> >> IOW, I don't see how block_input anywhere can solve this particular
> >> problem.
> >
> > I wonder too.
> 
> And, while vaccuming, I also wondered what happens with the glyph
> matrices, and maybe other global state?

Fvertical_motion (and other functions that call the move_it_*
functions) in general don't rely on glyph matrices.  So I'm not sure
what exactly worries you.

In any case, glyph matrices are kept as long as their windows are
kept.  They aren't "freed" like faces or images.




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

Previous Next


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