]> git.pld-linux.org Git - packages/vim.git/blob - 6.4.007
- release 2
[packages/vim.git] / 6.4.007
1 To: vim-dev@vim.org
2 Subject: Patch 6.4.007
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 6.4.007
11 Problem:    Crash when expanding a file name argument in backticks. (Adri
12             Verhoef)
13 Solution:   Check for the NUL after the expansion result.
14 Files:      src/os_unix.c
15
16
17 *** ../vim-6.4.006/src/os_unix.c        Sat Oct  8 16:39:10 2005
18 --- src/os_unix.c       Thu Feb  2 12:48:28 2006
19 ***************
20 *** 5051,5057 ****
21         /* Space or NL separates */
22         if (shell_style == STYLE_ECHO || shell_style == STYLE_BT)
23         {
24 !           while (!(shell_style == STYLE_ECHO && *p == ' ') && *p != '\n')
25                 ++p;
26             if (p == buffer + len)              /* last entry */
27                 *p = NUL;
28 --- 5051,5058 ----
29         /* Space or NL separates */
30         if (shell_style == STYLE_ECHO || shell_style == STYLE_BT)
31         {
32 !           while (!(shell_style == STYLE_ECHO && *p == ' ')
33 !                                                  && *p != '\n' && *p != NUL)
34                 ++p;
35             if (p == buffer + len)              /* last entry */
36                 *p = NUL;
37 *** ../vim-6.4.006/src/version.c        Thu Dec 22 22:39:11 2005
38 --- src/version.c       Wed Feb  8 11:10:30 2006
39 ***************
40 *** 643,644 ****
41 --- 643,646 ----
42   {   /* Add new patch number below this line */
43 + /**/
44 +     7,
45   /**/
46
47 -- 
48 "My particular problem is with registry entries, which seem to just accumulate
49 like plastic coffee cups..."           -- Paul Moore
50
51  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
52 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53 \\\        download, build and distribute -- http://www.A-A-P.org        ///
54  \\\            help me help AIDS victims -- http://www.ICCF.nl         ///
This page took 0.132292 seconds and 3 git commands to generate.