diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-02-13 01:18:38 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-02-13 01:18:38 +0100 |
commit | 5382f12c910b7f8e46acdde5488f26a86f9fcac1 (patch) | |
tree | 18f360a12c91c710a0ae45a80b6c65e7f91367e1 /src | |
parent | e1ed53f3f95786c744d4b6c85bda4f476f67cc91 (diff) | |
download | vim-git-5382f12c910b7f8e46acdde5488f26a86f9fcac1.tar.gz |
patch 8.1.0907: CI tests on AppVeyor are failingv8.1.0907
Problem: CI tests on AppVeyor are failing.
Solution: Reduce the recursiveness limit for regexp.
Diffstat (limited to 'src')
-rw-r--r-- | src/regexp_nfa.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 @@ -784,6 +784,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 907, +/**/ 906, /**/ 905, |