Subject: Re: bug#22146: Stack overflow in reftex-parse-all

From: David Kastrup <[email-masked]>
Date: Sun, 13 Dec 2015 16:09:31 +0100

Mosè Giordano <[email-masked]> 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