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 7c4d407..18bc8d9 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -4315,7 +4315,7 @@
// 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 3a71b93..a66e8b6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -784,6 +784,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 907,
+/**/
906,
/**/
905,