mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.1.0907: CI tests on AppVeyor are failing
Problem: CI tests on AppVeyor are failing.
Solution: Reduce the recursiveness limit for regexp.
5382f12c91
This commit is contained in:
parent
a77e5b3606
commit
fb059a1741
@ -3961,7 +3961,7 @@ addstate (
|
|||||||
|
|
||||||
// This function is called recursively. When the depth is too much we run
|
// This function is called recursively. When the depth is too much we run
|
||||||
// out of stack and crash, limit recursiveness here.
|
// out of stack and crash, limit recursiveness here.
|
||||||
if (++depth >= 10000 || subs == NULL) {
|
if (++depth >= 5000 || subs == NULL) {
|
||||||
depth--;
|
depth--;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user