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

From: Po Lu <[email-masked]>
Date: Wed, 05 Oct 2022 22:24:31 +0800

On October 5, 2022 10:09:09 PM GMT+08:00, Eli Zaretskii <[email-masked]> wrote:

>That we have other loopholes doesn't mean we shouldn't be concerned
>with this one.  IMO, we should plug all those loopholes one by one.

Judging by how long the NS relayout code has been installed for, and how it has not actually caused problems in Fmemq, I'm inclined to wait for someone to complain about memq not working before we remove it.  I tried several months ago, and removing that call to redisplay resulted in the system refusing to resize the NS window.

The call to redisplay in the drag and drop code should not cause any problems, as that hook cannot be called from ns_read_socket.

Thanks.