]> git.pld-linux.org Git - packages/vim.git/blame - 6.2.264
- fix for current libselinux
[packages/vim.git] / 6.2.264
CommitLineData
00326db2
AG
1To: vim-dev@vim.org
2Subject: Patch 6.2.264
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 6.2.264 (after 6.2.247)
11Problem: Writing past allocated memory when using a command line from the
12 viminfo file.
13Solution: Store the NUL in the right place.
14Files: src/ex_getln.c
15
16
17*** ../vim-6.2.263/src/ex_getln.c Mon Feb 9 10:33:13 2004
18--- src/ex_getln.c Tue Feb 17 11:02:24 2004
19***************
20*** 4771,4777 ****
21 /* Not a search entry: No separator in the viminfo file,
22 * add a NUL separator. */
23 mch_memmove(val, val + 1, (size_t)len);
24! val[len + 1] = NUL;
25 }
26 viminfo_history[type][viminfo_hisidx[type]++] = val;
27 }
28--- 4810,4816 ----
29 /* Not a search entry: No separator in the viminfo file,
30 * add a NUL separator. */
31 mch_memmove(val, val + 1, (size_t)len);
32! val[len] = NUL;
33 }
34 viminfo_history[type][viminfo_hisidx[type]++] = val;
35 }
36*** ../vim-6.2.263/src/version.c Sun Feb 15 13:49:38 2004
37--- src/version.c Tue Feb 17 20:21:17 2004
38***************
39*** 639,640 ****
40--- 639,642 ----
41 { /* Add new patch number below this line */
42+ /**/
43+ 264,
44 /**/
45
46--
47"Hit any key to continue" is a lie.
48
49 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
50/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
51\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
52 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
This page took 0.029486 seconds and 4 git commands to generate.