diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-09-14 10:55:47 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-09-14 10:55:47 +0200 |
commit | 73a92fe01332d83832f22e18c83e7da70f62de25 (patch) | |
tree | eb9bbdb0d363490374f0bb41e1240bf00ff0406c /src/regexp.c | |
parent | 66e1f8860acd7021684c7251dd65cc135a5998f5 (diff) | |
download | vim-73a92fe01332d83832f22e18c83e7da70f62de25.zip |
updated for version 7.3.004
Problem: Crash when using very long regexp. (Peter Odding)
Solution: Reset reg_toolong. (Carlo Teubner)
Diffstat (limited to 'src/regexp.c')
-rw-r--r-- | src/regexp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regexp.c b/src/regexp.c index 480f4cc69..57ea73696 100644 --- a/src/regexp.c +++ b/src/regexp.c @@ -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) |