GNU bug report logs - #22149
stack overflow in regexp matcher

Previous Next

Package: emacs;

Reported by: Cheng-An Yang <rhymer123 <at> gmail.com>

Date: Sat, 12 Dec 2015 06:32:01 UTC

Severity: normal

Tags: confirmed

Found in versions 24.4, 25.0.95

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mattias EngdegÄrd <mattiase <at> acm.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: schwab <at> suse.de, rhymer123 <at> gmail.com, npostavs <at> gmail.com, 22149 <at> debbugs.gnu.org
Subject: bug#22149: 24.4; gdb stack overflow in regexp matcher
Date: Sat, 14 Mar 2020 11:43:38 +0100
14 mars 2020 kl. 11.14 skrev Eli Zaretskii <eliz <at> gnu.org>:

> I think regex-emacs.c already overrides some of the SAFE_ALLOCA
> machinery to that effect, does it not?

It uses its own limits, but the mechanism appears to be unchanged. I wonder how important the stack-growing effort in main() really is for regexp performance.





This bug report was last modified 5 years and 60 days ago.

Previous Next


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