]>
Commit | Line | Data |
---|---|---|
17e7d110 SS |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.3.004 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.3.004 | |
11 | Problem: Crash when using very long regexp. (Peter Odding) | |
12 | Solution: Reset reg_toolong. (Carlo Teubner) | |
13 | Files: src/regexp.c | |
14 | ||
15 | ||
16 | *** ../vim-7.3.003/src/regexp.c 2010-08-15 21:57:29.000000000 +0200 | |
17 | --- src/regexp.c 2010-09-14 10:51:22.000000000 +0200 | |
18 | *************** | |
19 | *** 3538,3543 **** | |
20 | --- 3538,3544 ---- | |
21 | ||
22 | regline = line; | |
23 | reglnum = 0; | |
24 | + reg_toolong = FALSE; | |
25 | ||
26 | /* Simplest case: Anchored match need be tried only once. */ | |
27 | if (prog->reganch) | |
28 | *** ../vim-7.3.003/src/version.c 2010-08-17 20:23:18.000000000 +0200 | |
29 | --- src/version.c 2010-09-14 10:52:09.000000000 +0200 | |
30 | *************** | |
31 | *** 716,717 **** | |
32 | --- 716,719 ---- | |
33 | { /* Add new patch number below this line */ | |
34 | + /**/ | |
35 | + 4, | |
36 | /**/ | |
37 | ||
38 | -- | |
39 | I have a watch cat! Just break in and she'll watch. | |
40 | ||
41 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
42 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
43 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
44 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |