0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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:
Bram Moolenaar 2010-09-14 10:55:47 +02:00
parent 66e1f8860a
commit 73a92fe013
2 changed files with 3 additions and 0 deletions

View File

@ -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)

View File

@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4,
/**/
3,
/**/