4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Reading past end of a string when resizing Vim. (Dominique Pelle)
12 Solution: Check the string pointer before getting the char it points to.
16 *** ../vim-7.1.095/src/message.c Tue Aug 7 21:59:26 2007
17 --- src/message.c Thu Aug 30 22:53:03 2007
26 * Allow scrolling back in the messages.
27 * Also accept scroll-down commands when messages fill the screen,
36 did_wait_return = FALSE;
37 while ((maxlen < 0 || (int)(s - str) < maxlen) && *s != NUL)
43 msg_screen_putchar(*s++, attr);
44 + did_last_char = TRUE;
47 + did_last_char = FALSE;
50 /* store text for scrolling back */
54 /* When we displayed a char in last column need to check if there
57 ! #ifdef FEAT_RIGHTLEFT
66 /* When we displayed a char in last column need to check if there
72 *** ../vim-7.1.095/src/version.c Wed Sep 5 21:45:54 2007
73 --- src/version.c Thu Sep 6 12:31:28 2007
77 { /* Add new patch number below this line */
83 Yah, well, we had to carve our electrons out of driftwood we'd
84 find. In the winter. Uphill. Both ways.
86 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
87 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
88 \\\ download, build and distribute -- http://www.A-A-P.org ///
89 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///