mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
vim-patch:7.4.593 #2657
Problem: Crash when searching for "x\{0,90000}". (Dominique Pelle) Solution: Bail out from the NFA engine when the max limit is much higher than the min limit. https://github.com/vim/vim/commit/v7-4-593 See https://groups.google.com/d/msg/vim_dev/c7owwoseba8/ZETgSNZ6p10J
This commit is contained in:

committed by
Justin M. Keyes

parent
80d61fb87b
commit
f04bc91c2f
@@ -5,6 +5,7 @@
|
||||
#define RE_MAGIC 1 /* 'magic' option */
|
||||
#define RE_STRING 2 /* match in string instead of buffer text */
|
||||
#define RE_STRICT 4 /* don't allow [abc] without ] */
|
||||
#define RE_AUTO 8 /* automatic engine selection */
|
||||
|
||||
/* values for reg_do_extmatch */
|
||||
#define REX_SET 1 /* to allow \z\(...\), */
|
||||
|
Reference in New Issue
Block a user