4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: A very big value for 'columns' or 'lines' may cause a crash.
12 Solution: Limit the values to 10000 and 1000.
16 *** ../vim-6.3.089/src/option.c Thu Dec 16 12:05:19 2004
17 --- src/option.c Fri Sep 30 15:02:26 2005
22 Columns = MIN_COLUMNS;
24 + /* Limit the values to avoid an overflow in Rows * Columns. */
25 + if (Columns > 10000)
31 /* avoid a crash by checking for a too large value of 'columns' */
32 *** ../vim-6.3.089/src/version.c Wed Sep 28 14:58:09 2005
33 --- src/version.c Fri Sep 30 15:03:19 2005
37 { /* Add new patch number below this line */
43 It is illegal to rob a bank and then shoot at the bank teller with a water
45 [real standing law in Louisana, United States of America]
47 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
48 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
49 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
50 \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///