0
0
mirror of https://github.com/vim/vim.git synced 2025-11-13 22:54:27 -05:00

updated for version 7.4.593

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.
This commit is contained in:
Bram Moolenaar
2015-01-27 12:59:55 +01:00
parent df5caa08f6
commit e0ad365498
4 changed files with 21 additions and 9 deletions

View File

@@ -1020,6 +1020,7 @@ extern char *(*dyn_libintl_textdomain)(const char *domainname);
#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 */
#ifdef FEAT_SYN_HL
/* values for reg_do_extmatch */