0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.1.0907: CI tests on AppVeyor are failing

Problem:    CI tests on AppVeyor are failing.
Solution:   Reduce the recursiveness limit for regexp.
This commit is contained in:
Bram Moolenaar 2019-02-13 01:18:38 +01:00
parent e1ed53f3f9
commit 5382f12c91
2 changed files with 3 additions and 1 deletions

View 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;

View File

@ -783,6 +783,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
907,
/**/
906,
/**/