[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22146: Stack overflow in reftex-parse-all
From: |
David Kastrup |
Subject: |
bug#22146: Stack overflow in reftex-parse-all |
Date: |
Sun, 13 Dec 2015 18:52:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Tassilo Horn <address@hidden> writes:
> Mosè Giordano <address@hidden> writes:
> Isn't the syntax "\\[[^]]\\{0,1000\\}\\<label"? I tried going up to a
> maximum of 30000 and it still didn't overflow, so I think that's an
> appropriate fix (say, maybe 2000 instead of 1000 to be extra safe).
> Feel free to change `reftex-label-regexps' accordingly.
>
> Interestingly, "x\\{0,40000\\}" gives an error:
>
> (invalid-regexp "Invalid content of \\{\\}")
>
> So there seems to be a (pretty random) limit...
I'd guess that the regexp library translates this into a "short", so the
limit would be SHORT_MAX, namely 32767.
--
David Kastrup
- bug#22146: Stack overflow in reftex-parse-all, (continued)
- bug#22146: Stack overflow in reftex-parse-all, Mosè Giordano, 2015/12/11
- bug#22146: Stack overflow in reftex-parse-all, Tassilo Horn, 2015/12/12
- bug#22146: Stack overflow in reftex-parse-all, Nils Kanning, 2015/12/12
- bug#22146: Stack overflow in reftex-parse-all, Mosè Giordano, 2015/12/12
- bug#22146: Stack overflow in reftex-parse-all, David Kastrup, 2015/12/12
- bug#22146: Stack overflow in reftex-parse-all, Mosè Giordano, 2015/12/13
- bug#22146: Stack overflow in reftex-parse-all, David Kastrup, 2015/12/13
- bug#22146: Stack overflow in reftex-parse-all, Tassilo Horn, 2015/12/13
- bug#22146: Stack overflow in reftex-parse-all, Mosè Giordano, 2015/12/13
- bug#22146: Stack overflow in reftex-parse-all, Tassilo Horn, 2015/12/13
- bug#22146: Stack overflow in reftex-parse-all,
David Kastrup <=
- bug#22146: Stack overflow in reftex-parse-all, Tassilo Horn, 2015/12/13
- bug#22146: Stack overflow in reftex-parse-all, Mosè Giordano, 2015/12/13
- bug#22146: Stack overflow in reftex-parse-all, Tassilo Horn, 2015/12/13