From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#58042: 29.0.50; ASAN use-after-free in re_match_2_internal Date: Thu, 6 Oct 2022 09:21:49 +0200 Message-ID: <925e9a8a-3271-615d-0e7e-0710dc871ad1@gmail.com> References: <83edvlqvxy.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14491"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Cc: 58042@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 06 09:22:35 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 1ogLDH-0003bL-8j for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 09:22:35 +0200 Original-Received: from localhost ([::1]:54320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogLDG-0000Vo-5F for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 03:22:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogLCk-0000Mn-7N for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 03:22:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59653) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogLCj-0003pR-Tv for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 03:22:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogLCj-000739-LU for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 03:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Oct 2022 07:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58042 X-GNU-PR-Package: emacs Original-Received: via spool by 58042-submit@debbugs.gnu.org id=B58042.166504091927088 (code B ref 58042); Thu, 06 Oct 2022 07:22:01 +0000 Original-Received: (at 58042) by debbugs.gnu.org; 6 Oct 2022 07:21:59 +0000 Original-Received: from localhost ([127.0.0.1]:58731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogLCg-00072q-KN for submit@debbugs.gnu.org; Thu, 06 Oct 2022 03:21:58 -0400 Original-Received: from mail-ej1-f53.google.com ([209.85.218.53]:43751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogLCf-00072d-8d for 58042@debbugs.gnu.org; Thu, 06 Oct 2022 03:21:57 -0400 Original-Received: by mail-ej1-f53.google.com with SMTP id a2so2507239ejx.10 for <58042@debbugs.gnu.org>; Thu, 06 Oct 2022 00:21:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id:from:to:cc :subject:date; bh=TCSp+GJzqh7i7TxEtmVzYyuFERiUUfz+/c7Ddg/Zs8E=; b=kYZNtO5Lv8v62OAmnWIQ+H08Hdjl02qJIdld5tOAEity44fMjH5rwP+ro1YCWPRRlR VQtlQdxgMtUhORnxxQZa8U+MwugI5vlNDiD4ukb1nDGmHbzgIm3FUbvnzQJD0ET+3duF 4SwU8eChRCOjNh/YgNm7lccYp84ZWp1quk471k3QJEvuIxum2Nlc4OocZc8bFF4EB6v/ ObyT+OhaehQZfc/bFnjOHPx5sl5Dx+OAWJ4H7BCkRVKm3KEb+HgCyO1fD4CB/oiBExJB WqYcflesg4O3TqNJe6YWJoERZbcF1lMY3EiXy5jORtIhZQThoHY3GgXm+6+9qNj493gz 4A/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=TCSp+GJzqh7i7TxEtmVzYyuFERiUUfz+/c7Ddg/Zs8E=; b=ea8G1UeolAgfsk48K3gOW4PmlYqtjYPaBdKJ41e8hq12bUDp+bJi6o7bahJmuVjqMo pLT+fCm6n5PT53ZTp+b/h8ko+x69/cA5+++reBEbd1ZHbkfdwTCJyK8VTg5VhFjhgoXU VSK/qVbRiCM4qKILqswMgwlw9+8Ek5ciNMmtNHUHziCN3jVfKWL71wwBJYzLVGBjMEwz PFl6flQmySBYi8DnIDzpdtyjjBHq3rIysMCgPG9uxtkhG1wlownqjvIH2FJ9tIgWotIo ckwx4s8wwa0UDKrEGal9xWItYsFx5WkhQKQj0f59IZMMOehaUxe13eyo1iCaQAxUrWJE bZwQ== X-Gm-Message-State: ACrzQf1FNj/+0Zt/yWyUD1DWRxpdbynG7ByURfT0AGEigrMDFfrTXWNr Q87zG+KsveRty/lwTASlHBIJby3xur/lQw== X-Google-Smtp-Source: AMsMyM5UqFmwTB3pBjDqp0T7rx58lBGqHKaIbrVSatQWA1YOy5RxULW6zPcR5aDtjVxl7F9rm5Jv2A== X-Received: by 2002:a17:907:2d88:b0:78c:f800:7252 with SMTP id gt8-20020a1709072d8800b0078cf8007252mr2898675ejc.441.1665040911244; Thu, 06 Oct 2022 00:21:51 -0700 (PDT) Original-Received: from [192.168.178.21] (pd9e36a85.dip0.t-ipconnect.de. [217.227.106.133]) by smtp.gmail.com with ESMTPSA id f13-20020a17090660cd00b0077a7c01f263sm9790360ejk.88.2022.10.06.00.21.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Oct 2022 00:21:50 -0700 (PDT) Content-Language: en-US In-Reply-To: <83edvlqvxy.fsf@gnu.org> 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:244603 Archived-At: On 22-10-06 8:59 , Eli Zaretskii wrote: >>>> Q: Should we do that? > > IMO, yes. > >> And if so, when? > > "Now"? Done in master. Thanks. Not sure what to do with redisplay, or Lisp in general being called from event handlers. I tend to close this bug, and submit a new one, ATM. Maybe we should at least think a bit more about what the consequences of that are. Or maybe not, because it seems to "work well enough", and I wouldn't know what to do about this anyway. Any preferences?