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:
Jan Edmund Lazo 2019-07-25 02:20:55 -04:00
parent a77e5b3606
commit fb059a1741

View File

@ -3961,7 +3961,7 @@ addstate (
// This function is called recursively. When the depth is too much we run
// out of stack and crash, limit recursiveness here.
if (++depth >= 10000 || subs == NULL) {
if (++depth >= 5000 || subs == NULL) {
depth--;
return NULL;
}