|
From: | David Kastrup |
Subject: | bug#22146: Stack overflow in reftex-parse-all |
Date: | Sun, 13 Dec 2015 16:09:31 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Mosè Giordano <address@hidden> 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
[Prev in Thread] | Current Thread | [Next in Thread] |