From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58334: 29.0.50; ASAN heap use after free in gui_produce_glyphs Date: Fri, 07 Oct 2022 15:27:04 +0300 Message-ID: <8335bzom3r.fsf@gnu.org> References: <87mta8qx48.fsf@yahoo.com> <83v8ownmi1.fsf@gnu.org> <874jwgqbd6.fsf@yahoo.com> <87zge8orla.fsf@yahoo.com> <83k05boos0.fsf@gnu.org> <87edvjq15g.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27977"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 58334@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 07 16:44:04 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogoa4-00076t-8w for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Oct 2022 16:44:04 +0200 Original-Received: from localhost ([::1]:47650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogoa3-0004q3-B0 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Oct 2022 10:44:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogmSR-0005XW-1X for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 08:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35614) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogmSQ-0002Fj-Or for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 08:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogmSQ-0004ec-FR for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 08:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Oct 2022 12:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58334 X-GNU-PR-Package: emacs Original-Received: via spool by 58334-submit@debbugs.gnu.org id=B58334.166514565617860 (code B ref 58334); Fri, 07 Oct 2022 12:28:02 +0000 Original-Received: (at 58334) by debbugs.gnu.org; 7 Oct 2022 12:27:36 +0000 Original-Received: from localhost ([127.0.0.1]:34692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogmRz-0004dz-TH for submit@debbugs.gnu.org; Fri, 07 Oct 2022 08:27:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogmRy-0004dn-Dy for 58334@debbugs.gnu.org; Fri, 07 Oct 2022 08:27:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50242) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogmRs-0002Du-Qu; Fri, 07 Oct 2022 08:27:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=zUaNyTAFrFtGgaDHL1Z4w6ax7AJpUKDu6jxnPBEltNc=; b=aT+1OQKX/f/r 0VFvWh+XRAUlkgEHd5VBapDBKcig4yAna9u8UFE7/WoPE+9hYwZObm68Wy/bG28ibBBgIV50RMaKs /PJzXLV62XsR2dzZ6GEwbVIN3u3KwdoXuqb38uDgo5SqSpR6PC/pudBaYqyrbFY1XH5wx6YyWjQBD +JyJxlhmWu0O9Zeu/dQvGATSpVn2uQNzJO4nN13xHDajeMZlId/EXn2i8yT1GY6jYfGp3RfL9hH80 W+cc3C7C8jgxrWkOuGs3hjWDqC9NlpOIzyKWds5M42amRKONryY+69UM7kpygFEgwiIaigvb3fBkQ pUYhv7fhvBbZuZDV5Iurtg==; Original-Received: from [87.69.77.57] (port=1199 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogmRY-0005yo-Gy; Fri, 07 Oct 2022 08:27:25 -0400 In-Reply-To: <87edvjq15g.fsf@yahoo.com> (message from Po Lu on Fri, 07 Oct 2022 20:16:43 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:244804 Archived-At: > From: Po Lu > Cc: gerd.moellmann@gmail.com, 58334@debbugs.gnu.org > Date: Fri, 07 Oct 2022 20:16:43 +0800 > > Eli Zaretskii writes: > > > You don't need process_pending_signals, it's enough that some hook > > calls 'redisplay' from Lisp. > > process_pending_signals called from probably_quit and unblock_input > calling handle_async_input, and thus gobble_input, is what will run that > hook calling redisplay, right? I meant that the problem is much wider and more general: any Lisp can call redisplay at will. And we call Lisp from C all over the place.