]> git.pld-linux.org Git - packages/vim.git/blame - 6.3.024
- updated to 6.3.052
[packages/vim.git] / 6.3.024
CommitLineData
be561239
AG
1To: vim-dev@vim.org
2Subject: Patch 6.3.024
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.3.024
11Problem: In a few places a string in allocated memory is not terminated
12 with a NUL.
13Solution: Add ga_append(NUL) in script_get(), gui_do_findrepl() and
14 serverGetVimNames().
15Files: src/ex_getln.c, src/gui.c, src/if_xcmdsrv.c
16
17
18*** ../vim-6.3.023/src/ex_getln.c Fri Jul 9 22:21:01 2004
19--- src/ex_getln.c Sun Sep 5 20:29:52 2004
20***************
21*** 5472,5477 ****
22--- 5472,5478 ----
23 ga_append(&ga, '\n');
24 vim_free(theline);
25 }
26+ ga_append(&ga, NUL);
27
28 return (char_u *)ga.ga_data;
29 }
30*** ../vim-6.3.023/src/gui.c Wed Jun 9 14:56:25 2004
31--- src/gui.c Sun Sep 5 20:33:02 2004
32***************
33*** 4583,4594 ****
34--- 4583,4596 ----
35 ga_concat(&ga, (char_u *)"/");
36 concat_esc(&ga, repl_text, '/'); /* escape slashes */
37 ga_concat(&ga, (char_u *)"/g");
38+ ga_append(&ga, NUL);
39 do_cmdline_cmd(ga.ga_data);
40 }
41 else
42 {
43 /* Search for the next match. */
44 i = msg_scroll;
45+ ga_append(&ga, NUL);
46 do_search(NULL, down ? '/' : '?', ga.ga_data, 1L,
47 SEARCH_MSG + SEARCH_MARK);
48 msg_scroll = i; /* don't let an error message set msg_scroll */
49*** ../vim-6.3.023/src/if_xcmdsrv.c Wed Jun 9 14:56:26 2004
50--- src/if_xcmdsrv.c Sun Sep 5 20:33:48 2004
51***************
52*** 683,688 ****
53--- 683,689 ----
54 }
55 if (regProp != empty_prop)
56 XFree(regProp);
57+ ga_append(&ga, NUL);
58 return ga.ga_data;
59 }
60
61*** ../vim-6.3.023/src/version.c Sat Sep 4 19:43:59 2004
62--- src/version.c Sun Sep 5 20:47:49 2004
63***************
64*** 643,644 ****
65--- 643,646 ----
66 { /* Add new patch number below this line */
67+ /**/
68+ 24,
69 /**/
70
71--
72LAUNCELOT: At last! A call! A cry of distress ...
73 (he draws his sword, and turns to CONCORDE)
74 Concorde! Brave, Concorde ... you shall not have died in vain!
75CONCORDE: I'm not quite dead, sir ...
76 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
77
78 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
79/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
80\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
81 \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
This page took 0.046076 seconds and 4 git commands to generate.