Subject: bug#58334: 29.0.50; ASAN heap use after free in gui_produce_glyphs

From: Po Lu <[email-masked]>
Date: Fri, 07 Oct 2022 08:37:12 +0800

Gerd Möllmann <[email-masked]> writes:

> Po Lu, is this also something for Haiku?

Haiku calls Lisp in internal hooks (via safe_call) in
gui_produce_glyphs.  It does not call redisplay itself in input
callbacks during normal exxecution.

An exception is made when control over user input is transferred to
another GUI thread as part of a popup or dialog.  xselect.c and xmenu.c
do pretty much the same thing.