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)
|
||||
|
Reference in New Issue
Block a user