Subject: bug#56095: 29.0.50; nsterm.m, use after free

From: Gerd Möllmann <[email-masked]>
Date: Mon, 20 Jun 2022 08:02:48 +0200

On 20. Jun 2022, 03:22 +0200, Po Lu <[email-masked]>, wrote:
>
> Isn't that a bug, since scroll bars should only be judged for windows
> that are still reachable?

I'd say no:  Ns_judge_scroll_bars is called for a frame, and loops over EmascScroller subviews of that frame. I don't see how it is could be certain that all EmascScrollers reference a live Emacs window at that point.