GNU bug report logs - #61514
30.0.50; sadistically long xml line hangs emacs

Previous Next

Package: emacs;

Reported by: "Mark A. Hershberger" <mah <at> everybody.org>

Date: Tue, 14 Feb 2023 21:05:02 UTC

Severity: normal

Found in version 30.0.50

Done: Gregory Heytings <gregory <at> heytings.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gregory Heytings <gregory <at> heytings.org>
Cc: mah <at> everybody.org, 61514 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#61514: 30.0.50; sadistically long xml line hangs emacs
Date: Mon, 20 Feb 2023 14:32:25 +0200
> Date: Mon, 20 Feb 2023 00:14:34 +0000
> From: Gregory Heytings <gregory <at> heytings.org>
> cc: mah <at> everybody.org, 61514 <at> debbugs.gnu.org, 
>     Stefan Monnier <monnier <at> iro.umontreal.ca>
> 
> Out of curiosity, I just bootstrapped Emacs with emacs_re_max_failures = 
> 10000.  make and make check succeed, except one test: regex-repeat-limit.
> 
> With emacs_re_max_failures = 19661 or higher that test succeeds.  I don't 
> know how important it is to allow x\\{65535\\}.

It makes little sense to me to limit legitimate uses of regexps
because of a single pathological use case.  It's the tail wagging the
dog in my book.




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

Previous Next


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