GNU bug report logs - #56095
29.0.50; nsterm.m, use after free

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Sun, 19 Jun 2022 15:18:01 UTC

Severity: normal

Found in version 29.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 56095 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: 56095 <at> debbugs.gnu.org
Subject: Re: bug#56095: Patch
Date: Mon, 20 Jun 2022 09:02:22 +0800
Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:

> Why the window pointer is needed in EmacsScroller at all escapes me,
> ATM. Someone who knows nsterm.c should probably check if it is needed.

It's the scroll bar class, and naturally needs a reference to the window
it scrolls.  Otherwise, how will it set ie.frame_or_window in
sendScrollEventAtLoc?




This bug report was last modified 3 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.