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:
parent
66e1f8860a
commit
73a92fe013
@ -3538,6 +3538,7 @@ vim_regexec_both(line, col, tm)
|
|||||||
|
|
||||||
regline = line;
|
regline = line;
|
||||||
reglnum = 0;
|
reglnum = 0;
|
||||||
|
reg_toolong = FALSE;
|
||||||
|
|
||||||
/* Simplest case: Anchored match need be tried only once. */
|
/* Simplest case: Anchored match need be tried only once. */
|
||||||
if (prog->reganch)
|
if (prog->reganch)
|
||||||
|
@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4,
|
||||||
/**/
|
/**/
|
||||||
3,
|
3,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user