GNU bug report logs - #22146
Stack overflow in reftex-parse-all

Previous Next

Package: auctex;

Reported by: Nils Kanning <nils <at> kanning.de>

Date: Fri, 11 Dec 2015 21:19:02 UTC

Severity: normal

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: David Kastrup <dak <at> gnu.org>
To: Mosè Giordano <mose <at> gnu.org>
Cc: Nils Kanning <nils <at> kanning.de>, 22146 <at> debbugs.gnu.org,
 Tassilo Horn <tsdh <at> gnu.org>
Subject: Re: bug#22146: Stack overflow in reftex-parse-all
Date: Sun, 13 Dec 2015 16:09:31 +0100
Mosè Giordano <mose <at> gnu.org> writes:

>
>     (re-search-forward "\\[[^]]*\\<label")
>
> at the beginning of the buffer suggested by Nils.  So, it doesn't seem
> there is an incomplete match, but simply "\\[[^]]*" is too greedy.

This expression contains only a single explicit wildcard.  A stack
overflow for it most certainly is a bug.  Is this really fixed in 25.1
or is there just a larger stack?  Maybe make the test case significantly
larger and check that still no stack overflow occurs.

-- 
David Kastrup




This bug report was last modified 9 years and 163 days ago.

Previous Next


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