]> granicus.if.org Git - vim/commitdiff
patch 8.1.0907: CI tests on AppVeyor are failing v8.1.0907
authorBram Moolenaar <Bram@vim.org>
Wed, 13 Feb 2019 00:18:38 +0000 (01:18 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 13 Feb 2019 00:18:38 +0000 (01:18 +0100)
Problem:    CI tests on AppVeyor are failing.
Solution:   Reduce the recursiveness limit for regexp.

src/regexp_nfa.c
src/version.c

index 7c4d40757675a73d1dbe03815b320945241f45b9..18bc8d9a601743f591cc527756ec44acf2105821 100644 (file)
@@ -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;
index 3a71b93929fbfdd7fce28fac6a9ca47cd7ae3dc0..a66e8b6adf5c4b80040a5b6e62ec83c53304c626 100644 (file)
@@ -783,6 +783,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    907,
 /**/
     906,
 /**/