forked from aniani/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.
This commit is contained in:
@@ -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;
|
||||
|
@@ -783,6 +783,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
907,
|
||||
/**/
|
||||
906,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user