From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58334: 29.0.50; ASAN heap use after free in gui_produce_glyphs Date: Fri, 07 Oct 2022 19:19:53 +0800 Message-ID: <87r0zjq3s6.fsf@yahoo.com> References: <87mta8qx48.fsf@yahoo.com> <83v8ownmi1.fsf@gnu.org> <874jwgqbd6.fsf@yahoo.com> <87zge8orla.fsf@yahoo.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25966"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 58334@debbugs.gnu.org, Eli Zaretskii To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 07 15:47:59 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 1ognhn-0006Wj-LK for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Oct 2022 15:47:59 +0200 Original-Received: from localhost ([::1]:35868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ognhm-0001ze-9q for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Oct 2022 09:47:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oglPa-0005Xg-PM for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 07:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35438) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oglPa-0000mo-FC for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 07:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oglPa-0000fu-A0 for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 07:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Oct 2022 11:21: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.16651416122502 (code B ref 58334); Fri, 07 Oct 2022 11:21:02 +0000 Original-Received: (at 58334) by debbugs.gnu.org; 7 Oct 2022 11:20:12 +0000 Original-Received: from localhost ([127.0.0.1]:34515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oglOm-0000eI-Bu for submit@debbugs.gnu.org; Fri, 07 Oct 2022 07:20:12 -0400 Original-Received: from sonic310-23.consmr.mail.ne1.yahoo.com ([66.163.186.204]:40793) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oglOi-0000dh-NE for 58334@debbugs.gnu.org; Fri, 07 Oct 2022 07:20:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1665141602; bh=uvX2y7fUzFGYQcmnsIWHX1P8Sc1I4E0EU+Jt4YnVhf8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=ggqWo0IdYO6ggMi0/4Zt528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01GcX.qljL5ZQMy02dC2VfVTygvhgT0JC9PPVOpRkyfIZ pfDm2ITjJ9wqlIt5Msztd2Zjbnc5TNg6DYOwG2.AgiAq8aPzdgWcluklcxcI_2joSaYFwPN726RA zqGQjHAadPftews0EpQpR4odmtSdbuG2lin5JfQQYwf.l5QXOckgEIjpcnZVBgpoeSvkBG8dm6ah Qo2jtqXlE4O_1MfXx_m2PCy.ao08jfZ.V2aTn807E625vnC6bVpmrz4wYA0CrvFP0j5NqM1HDr3t heIMlCEy_3_KoYWJwRdRY4TrN51iXpMLoUT4P9F_Fw7qZjCRAVvb1D8WuQrbukXOkaSq1g.yKUfJ 5Y7niKW.fHvRy3J728wYsXBMhYK4TzJUe_DRmOa3LbuOH2A51jEaymM2ABhYTi0Ez1WvL0ZONa09 Nl.goMUG4rbi.xiaPrTKrf7edOCjQ6haE5XD_FkEEf1UxrLikmFiRvyGSTeRC3Ip4iuvZGP5zaGD F03t.LvTsl9KTTwjmD8nLMoqCbY30y6nru635bo6Hws2eNw0DOGDzqRMUP8wv1NaWl6.qSBhuGpr nDEYb.d4.31dT6uwL_zcyGXQs4IZscai53dPxxdFPm X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Fri, 7 Oct 2022 11:20:02 +0000 Original-Received: by hermes--production-sg3-cf9dc7f8d-rww6r (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 9ef8ae3e4f9e2d322e161eeb2fe3ff2a; Fri, 07 Oct 2022 11:19:58 +0000 (UTC) In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Fri, 07 Oct 2022 13:11:39 +0200") X-Mailer: WebService/1.1.20702 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:244766 Archived-At: Gerd M=C3=B6llmann writes: > So, do you agree that block_input wouldn't solve the problem? Or does > it? It should, because it prevents the read_socket_hook from being called. However, you must keep in mind that anything that can call unblock_input can also run redisplay, as unblock_input reads pending async input if the input is completely unblocked.