4 From: Bram Moolenaar <Bram@moolenaar.net>
8 Problem: When using CTRL-A on a very long number Vim can crash. (Michael
10 Solution: Truncate the length of the new number to avoid a buffer overflow.
14 *** ../vim-5.7.9/src/ops.c Fri Jun 2 12:28:27 2000
15 --- src/ops.c Fri Oct 6 17:55:14 2000
22 + /* truncate to max length of a number */
23 + if (length >= NUMBUFLEN - 1)
24 + length = NUMBUFLEN - 2;
27 * Put the number characters in buf2[].
29 *** ../vim-5.7.9/src/version.c Mon Aug 7 09:59:44 2000
30 --- src/version.c Fri Oct 6 18:06:45 2000
34 { /* Add new patch number below this line */
40 hundred-and-one symptoms of being an internet addict:
41 196. Your computer costs more than your car.
43 /// Bram Moolenaar Bram@moolenaar.net http://www.moolenaar.net \\\
44 \\\ Vim: http://www.vim.org ICCF Holland: http://iccf-holland.org ///