]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.517
- add patches 7.3.619-743
[packages/vim.git] / 7.3.517
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.517
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.517
11 Problem:    Crash when using "vipvv". (Alexandre Provencio)
12 Solution:   Don't let the text length become negative.
13 Files:      src/ops.c
14
15
16 *** ../vim-7.3.516/src/ops.c    2012-04-20 13:46:02.000000000 +0200
17 --- src/ops.c   2012-05-18 12:28:09.000000000 +0200
18 ***************
19 *** 3042,3047 ****
20 --- 3042,3049 ----
21                         }
22   #endif
23                     }
24 +                   if (endcol == MAXCOL)
25 +                       endcol = (colnr_T)STRLEN(p);
26                     if (startcol > endcol
27   #ifdef FEAT_VIRTUALEDIT
28                             || is_oneChar
29 ***************
30 *** 3050,3057 ****
31                         bd.textlen = 0;
32                     else
33                     {
34 -                       if (endcol == MAXCOL)
35 -                           endcol = (colnr_T)STRLEN(p);
36                         bd.textlen = endcol - startcol + oap->inclusive;
37                     }
38                     bd.textstart = p + startcol;
39 --- 3052,3057 ----
40 *** ../vim-7.3.516/src/version.c        2012-05-18 12:06:58.000000000 +0200
41 --- src/version.c       2012-05-18 12:48:51.000000000 +0200
42 ***************
43 *** 716,717 ****
44 --- 716,719 ----
45   {   /* Add new patch number below this line */
46 + /**/
47 +     517,
48   /**/
49
50 -- 
51 BODY:        I'm not dead!
52 CART DRIVER: 'Ere.  He says he's not dead.
53 LARGE MAN:   Yes he is.
54 BODY:        I'm not!
55                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
56
57  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
58 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
59 \\\  an exciting new programming language -- http://www.Zimbu.org        ///
60  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.048929 seconds and 3 git commands to generate.