From fb059a1741b49e253e0a90717d1ff983bcee90ab Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Thu, 25 Jul 2019 02:20:55 -0400 Subject: 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 --- src/nvim/regexp_nfa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit