GNU bug report logs - #62039
Emacs crashes while parsing a long Emacs Lisp string

Previous Next

Package: emacs;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Tue, 7 Mar 2023 21:53:01 UTC

Severity: normal

Done: Mattias EngdegÄrd <mattiase <at> acm.org>

Bug is archived. No further changes may be made.

Full log


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

From: Mattias EngdegÄrd <mattiase <at> acm.org>
To: Bruno Haible <bruno <at> clisp.org>
Cc: 62039 <at> debbugs.gnu.org
Subject: bug#62039: Emacs crashes while parsing a long Emacs Lisp string
Date: Wed, 8 Mar 2023 10:39:53 +0100
> 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. 

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.





This bug report was last modified 2 years and 93 days ago.

Previous Next


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