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: Po Lu
Subject: bug#58042: 29.0.50; ASAN use-after-free in re_match_2_internal
Date: Wed, 05 Oct 2022 20:49:10 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Gerd Möllmann <gerd.moellmann@gmail.com> writes:

> And with this it works again:
>
> diff --git a/src/window.c b/src/window.c
> index 12a212a85a..da80fabe33 100644
> --- a/src/window.c
> +++ b/src/window.c
> @@ -8213,6 +8213,8 @@ init_window_once (void)
>  
>    minibuf_selected_window = Qnil;
>    staticpro (&minibuf_selected_window);
> +  old_selected_window = Qnil;
> +  staticpro (&old_selected_window);
>  
>    pdumper_do_now_and_after_late_load (init_window_once_for_pdumper);
>  }

Right, but please see what I said about old_selected_frame; I think it
is intentionally not staticpro'd.




reply via email to

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