1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Crash when using "vipvv". (Alexandre Provencio)
12 Solution: Don't let the text length become negative.
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
24 + if (endcol == MAXCOL)
25 + endcol = (colnr_T)STRLEN(p);
27 #ifdef FEAT_VIRTUALEDIT
34 - if (endcol == MAXCOL)
35 - endcol = (colnr_T)STRLEN(p);
36 bd.textlen = endcol - startcol + oap->inclusive;
38 bd.textstart = p + startcol;
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
45 { /* Add new patch number below this line */
52 CART DRIVER: 'Ere. He says he's not dead.
55 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
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 ///