bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58042: 29.0.50; ASAN use-after-free in re_match_2_internal


From: Gerd Möllmann
Subject: bug#58042: 29.0.50; ASAN use-after-free in re_match_2_internal
Date: Wed, 5 Oct 2022 15:31:10 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.0

On 22-10-05 15:27 , Eli Zaretskii wrote:
From: Gerd Möllmann <gerd.moellmann@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>,  58042@debbugs.gnu.org,  Alan Third
  <alan@idiocy.org>
Date: Wed, 05 Oct 2022 13:10:03 +0200

Can somone please help me understand how this works?

Let's say we are in memq called for list L.  Fmemq uses FOR_EACH_TAIL,
which can call maybe_quit, which executes arbitrary Lisp, which can
modify L.

"Arbitrary Lisp" being redisplay that calls various hooks, like
window-configuration-change-hook etc.?  IOW, this is a macOS only
thing?

I don't know. What Po Lu said sounded to me like it isn't specific to macOS (safe_call in event handlers, IIRC).






reply via email to

[Prev in Thread] Current Thread [Next in Thread]