]> git.pld-linux.org Git - packages/vim.git/blob - 7.0.071
- updated to 1.15
[packages/vim.git] / 7.0.071
1 To: vim-dev@vim.org
2 Subject: Patch 7.0.071
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.0.071
11 Problem:    Using an empty search pattern may cause a crash.
12 Solution:   Avoid using a NULL pointer.
13 Files:      src/search.c
14
15
16 *** ../vim-7.0.070/src/search.c Tue Aug 29 17:28:56 2006
17 --- src/search.c        Tue Aug 29 14:56:15 2006
18 ***************
19 *** 1259,1265 ****
20         /*
21          * Add character and/or line offset
22          */
23 !       if (!(options & SEARCH_NOOF) || *pat == ';')
24         {
25             if (spats[0].off.line)      /* Add the offset to the line number. */
26             {
27 --- 1259,1265 ----
28         /*
29          * Add character and/or line offset
30          */
31 !       if (!(options & SEARCH_NOOF) || (pat != NULL && *pat == ';'))
32         {
33             if (spats[0].off.line)      /* Add the offset to the line number. */
34             {
35 *** ../vim-7.0.070/src/version.c        Tue Aug 29 17:28:56 2006
36 --- src/version.c       Tue Aug 29 17:59:24 2006
37 ***************
38 *** 668,669 ****
39 --- 668,671 ----
40   {   /* Add new patch number below this line */
41 + /**/
42 +     71,
43   /**/
44
45 -- 
46 hundred-and-one symptoms of being an internet addict:
47 268. You get up in the morning and go online before getting your coffee.
48
49  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
50 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
51 \\\        download, build and distribute -- http://www.A-A-P.org        ///
52  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.037478 seconds and 3 git commands to generate.