From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#62039: Emacs crashes while parsing a long Emacs Lisp string Date: Wed, 8 Mar 2023 10:39:53 +0100 Message-ID: <1522E223-3EB8-478A-9585-17A239F23434@acm.org> References: <5401235.PpUMLH0tvb@nimes> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.14\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22013"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62039@debbugs.gnu.org To: Bruno Haible Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 08 10:41:22 2023 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 1pZqIT-0005ZV-V4 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Mar 2023 10:41:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZqIC-0007J8-Ot; Wed, 08 Mar 2023 04:41:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZqIA-0007Er-Hy for bug-gnu-emacs@gnu.org; Wed, 08 Mar 2023 04:41:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZqIA-0006PA-8v for bug-gnu-emacs@gnu.org; Wed, 08 Mar 2023 04:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZqI9-0003Z2-VG for bug-gnu-emacs@gnu.org; Wed, 08 Mar 2023 04:41:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <5401235.PpUMLH0tvb@nimes> Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Mar 2023 09:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62039 X-GNU-PR-Package: emacs Original-Received: via spool by 62039-submit@debbugs.gnu.org id=B62039.167826840913621 (code B ref 62039); Wed, 08 Mar 2023 09:41:01 +0000 Original-Received: (at 62039) by debbugs.gnu.org; 8 Mar 2023 09:40:09 +0000 Original-Received: from localhost ([127.0.0.1]:47811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZqHI-0003Xd-Jg for submit@debbugs.gnu.org; Wed, 08 Mar 2023 04:40:08 -0500 Original-Received: from mail1467c50.megamailservers.eu ([91.136.14.67]:56598 helo=mail268c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZqHF-0003Wy-8t for 62039@debbugs.gnu.org; Wed, 08 Mar 2023 04:40:06 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1678268397; bh=7VUT5p+Ny12Z5EYaeN5b5NB3tE/ZxU8LwOqs4gvSBjw=; h=From:Subject:Date:Cc:To:From; b=lIa9s3PqiOIVLKltEVP1PO1/OKjiC4GEi+zFBSOS+yYnP9qah1jRE2258NHBMa01v HgDK+JHAj/yp9pOH2E22gx5L10Ac++Mcr7Oz2/sMEFP+LKpI3OmF8Op8TsWT4ZUgcS pn+y5u8wE4XSiQsX/olLLP/josv8kUKn+npYWNrI= Feedback-ID: mattiase@acm.or Original-Received: from smtpclient.apple (c188-150-171-209.bredband.tele2.se [188.150.171.209]) (authenticated bits=0) by mail268c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 3289dsIC111502; Wed, 8 Mar 2023 09:39:55 +0000 X-Mailer: Apple Mail (2.3654.120.0.1.14) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: -100 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvdduvddgtdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhtgfgggfukfffvefvofesthhqmhdthhdtvdenucfhrhhomhepofgrthhtihgrshcugfhnghguvghgnohrugcuoehmrghtthhirghsvgesrggtmhdrohhrgheqnecuggftrfgrthhtvghrnhepudekueejlefgkeejjeegudevvefhgfekudeggedvfeejfefgleetjedtvedvhfeunecukfhppedukeekrdduhedtrddujedurddvtdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudekkedrudehtddrudejuddrvddtledphhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpmhgrihhlfhhrohhmpehmrghtthhirghsvgesrggtmhdrohhrghdpnhgspghrtghpthhtohepvddprhgtphhtthhopegsrhhunhhosegtlhhishhprdhorhhgpdhrtghpthhtohepiedvtdefleesuggvsggsuhhgshdrghhnuhdrohhrgh X-Origin-Country: SE 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:257525 Archived-At: > The cause of the bug is that in emacs/src/lread.c the function = read_escape() is recursive, and no bound on the recursion depth is = enforced.=20 Dear me, I meant to remove that recursion during the last reader = renovation but got sidetracked. Will fix. Thank you very much for noticing and reporting this bug.