4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Crash when comment middle is longer than start.
12 Solution: Fix size computation. (Lech Lorens)
16 *** ../vim-7.2.298/src/misc1.c 2009-11-11 17:30:05.000000000 +0100
17 --- src/misc1.c 2009-11-17 15:59:28.000000000 +0100
20 if (i != lead_repl_len)
22 mch_memmove(p + lead_repl_len, p + i,
23 ! (size_t)(lead_len - i - (leader - p)));
24 lead_len += lead_repl_len - i;
28 if (i != lead_repl_len)
30 mch_memmove(p + lead_repl_len, p + i,
31 ! (size_t)(lead_len - i - (p - leader)));
32 lead_len += lead_repl_len - i;
35 *** ../vim-7.2.298/src/version.c 2009-11-17 14:57:19.000000000 +0100
36 --- src/version.c 2009-11-17 16:01:07.000000000 +0100
40 { /* Add new patch number below this line */
46 BLACK KNIGHT: The Black Knight always triumphs. Have at you!
47 ARTHUR takes his last leg off. The BLACK KNIGHT's body lands upright.
48 BLACK KNIGHT: All right, we'll call it a draw.
49 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
51 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
52 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53 \\\ download, build and distribute -- http://www.A-A-P.org ///
54 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///