]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.053
- updated to 7.1.326
[packages/vim.git] / 7.1.053
CommitLineData
6577e359 1To: vim-dev@vim.org
2Subject: patch 7.1.053
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.1.053
11Problem: Accessing uninitialized memory when giving a message.
12Solution: Check going the length before checking for a NUL byte.
13Files: src/message.c
14
15
16*** ../vim-7.1.052/src/message.c Thu Jul 5 10:10:29 2007
17--- src/message.c Sat Aug 4 23:13:58 2007
18***************
19*** 1842,1848 ****
20 int wrap;
21
22 did_wait_return = FALSE;
23! while (*s != NUL && (maxlen < 0 || (int)(s - str) < maxlen))
24 {
25 /*
26 * We are at the end of the screen line when:
27--- 1842,1848 ----
28 int wrap;
29
30 did_wait_return = FALSE;
31! while ((maxlen < 0 || (int)(s - str) < maxlen) && *s != NUL)
32 {
33 /*
34 * We are at the end of the screen line when:
35*** ../vim-7.1.052/src/version.c Sun Aug 5 18:49:07 2007
36--- src/version.c Sun Aug 5 19:18:46 2007
37***************
38*** 668,669 ****
39--- 668,671 ----
40 { /* Add new patch number below this line */
41+ /**/
42+ 53,
43 /**/
44
45--
46From "know your smileys":
47 <>:-) Bishop
48
49 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
50/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
51\\\ download, build and distribute -- http://www.A-A-P.org ///
52 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.025371 seconds and 4 git commands to generate.