]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.250
- new
[packages/vim.git] / 7.2.250
CommitLineData
4ff12b6a
ER
1To: vim-dev@vim.org
2Subject: Patch 7.2.250 (extra)
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.2.250 (extra)
11Problem: Possible buffer overflow.
12Solution: Compute the remaining space. (Dominique Pelle)
13Files: src/GvimExt/gvimext.cpp
14
15
16*** ../vim-7.2.249/src/GvimExt/gvimext.cpp 2008-07-24 20:51:11.000000000 +0200
17--- src/GvimExt/gvimext.cpp 2009-09-11 13:26:27.000000000 +0200
18***************
19*** 635,641 ****
20 }
21 // Now concatenate
22 strncpy(temp, _("Edit with existing Vim - "), BUFSIZE - 1);
23! strncat(temp, title, BUFSIZE - 1);
24 InsertMenu(hMenu,
25 indexMenu++,
26 MF_STRING|MF_BYPOSITION,
27--- 635,643 ----
28 }
29 // Now concatenate
30 strncpy(temp, _("Edit with existing Vim - "), BUFSIZE - 1);
31! temp[BUFSIZE - 1] = '\0';
32! strncat(temp, title, BUFSIZE - 1 - strlen(temp));
33! temp[BUFSIZE - 1] = '\0';
34 InsertMenu(hMenu,
35 indexMenu++,
36 MF_STRING|MF_BYPOSITION,
37*** ../vim-7.2.249/src/version.c 2009-09-11 12:59:57.000000000 +0200
38--- src/version.c 2009-09-11 13:23:45.000000000 +0200
39***************
40*** 678,679 ****
41--- 678,681 ----
42 { /* Add new patch number below this line */
43+ /**/
44+ 250,
45 /**/
46
47
48--
49hundred-and-one symptoms of being an internet addict:
50223. You set up a web-cam as your home's security system.
51
52 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
53/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
54\\\ download, build and distribute -- http://www.A-A-P.org ///
55 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.0698 seconds and 4 git commands to generate.