forked from aniani/vim
updated for version 7.3.004
Problem: Crash when using very long regexp. (Peter Odding) Solution: Reset reg_toolong. (Carlo Teubner)
This commit is contained in:
@@ -3538,6 +3538,7 @@ vim_regexec_both(line, col, tm)
|
||||
|
||||
regline = line;
|
||||
reglnum = 0;
|
||||
reg_toolong = FALSE;
|
||||
|
||||
/* Simplest case: Anchored match need be tried only once. */
|
||||
if (prog->reganch)
|
||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4,
|
||||
/**/
|
||||
3,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user