]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.173
- updated to 7.1.326
[packages/vim.git] / 7.1.173
CommitLineData
d2415672
AG
1To: vim-dev@vim.org
2Subject: Patch 7.1.173
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.1.173
11Problem: Accessing freed memory. (Dominique Pelle)
12Solution: Don't call reg_getline() to check if a line is the first in the
13 file.
14Files: src/regexp.c
15
16
17*** ../vim-7.1.172/src/regexp.c Thu Nov 29 21:26:38 2007
18--- src/regexp.c Sat Dec 8 15:54:05 2007
19***************
20*** 3810,3820 ****
21 break;
22
23 case RE_BOF:
24! /* Passing -1 to the getline() function provided for the search
25! * should always return NULL if the current line is the first
26! * line of the file. */
27 if (reglnum != 0 || reginput != regline
28! || (REG_MULTI && reg_getline((linenr_T)-1) != NULL))
29 status = RA_NOMATCH;
30 break;
31
32--- 3810,3820 ----
33 break;
34
35 case RE_BOF:
36! /* We're not at the beginning of the file when below the first
37! * line where we started, not at the start of the line or we
38! * didn't start at the first line of the buffer. */
39 if (reglnum != 0 || reginput != regline
40! || (REG_MULTI && reg_firstlnum > 1))
41 status = RA_NOMATCH;
42 break;
43
44*** ../vim-7.1.172/src/version.c Sat Dec 8 22:20:24 2007
45--- src/version.c Sun Dec 9 19:24:36 2007
46***************
47*** 668,669 ****
48--- 668,671 ----
49 { /* Add new patch number below this line */
50+ /**/
51+ 173,
52 /**/
53
54--
55hundred-and-one symptoms of being an internet addict:
56213. Your kids start referring to you as "that guy in front of the monitor."
57
58 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
59/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
60\\\ download, build and distribute -- http://www.A-A-P.org ///
61 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.032666 seconds and 4 git commands to generate.