4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Unix: glob() may execute a shell command when it's not wanted.
13 Solution: Verify the sandbox flag is not set.
17 *** ../vim-6.3.080/src/os_unix.c Sat Jan 29 16:14:42 2005
18 --- src/os_unix.c Tue Jul 19 22:29:34 2005
22 * Don't allow the use of backticks in secure and restricted mode.
24 ! if (secure || restricted)
25 for (i = 0; i < num_pat; ++i)
26 if (vim_strchr(pat[i], '`') != NULL
27 && (check_restricted() || check_secure()))
30 * Don't allow the use of backticks in secure and restricted mode.
32 ! if (secure || restricted
33 ! # ifdef HAVE_SANDBOX
37 for (i = 0; i < num_pat; ++i)
38 if (vim_strchr(pat[i], '`') != NULL
39 && (check_restricted() || check_secure()))
40 *** ../vim-6.3.080/src/version.c Mon Jul 4 12:19:01 2005
41 --- src/version.c Tue Jul 19 22:26:32 2005
45 { /* Add new patch number below this line */
51 With sufficient thrust, pigs fly just fine.
54 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
55 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
56 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
57 \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///