From 5382f12c910b7f8e46acdde5488f26a86f9fcac1 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 13 Feb 2019 01:18:38 +0100 Subject: [PATCH] patch 8.1.0907: CI tests on AppVeyor are failing Problem: CI tests on AppVeyor are failing. Solution: Reduce the recursiveness limit for regexp. --- src/regexp_nfa.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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, /**/ -- 2.50.1