diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-07-25 02:20:55 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-07-25 02:21:32 -0400 |
commit | fb059a1741b49e253e0a90717d1ff983bcee90ab (patch) | |
tree | dcf269b5f97af5bdf09221710d5d15e62d0b1be0 | |
parent | a77e5b3606bd40e524e5e3ab428b58ca2b3f0ac2 (diff) | |
download | rneovim-fb059a1741b49e253e0a90717d1ff983bcee90ab.tar.gz rneovim-fb059a1741b49e253e0a90717d1ff983bcee90ab.tar.bz2 rneovim-fb059a1741b49e253e0a90717d1ff983bcee90ab.zip |
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.
https://github.com/vim/vim/commit/5382f12c910b7f8e46acdde5488f26a86f9fcac1
-rw-r--r-- | src/nvim/regexp_nfa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/regexp_nfa.c b/src/nvim/regexp_nfa.c index 425da6c055..fbdf4b9630 100644 --- a/src/nvim/regexp_nfa.c +++ b/src/nvim/regexp_nfa.c @@ -3961,7 +3961,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; } |