From: Bram Moolenaar Date: Wed, 13 Feb 2019 00:18:38 +0000 (+0100) Subject: patch 8.1.0907: CI tests on AppVeyor are failing X-Git-Tag: v8.1.0907 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5382f12c910b7f8e46acdde5488f26a86f9fcac1;p=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. --- diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index 7c4d40757..18bc8d9a6 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -4315,7 +4315,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; diff --git a/src/version.c b/src/version.c index 3a71b9392..a66e8b6ad 100644 --- a/src/version.c +++ b/src/version.c @@ -783,6 +783,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 907, /**/ 906, /**/