0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

updated for version 7.3.070

Problem:    Can set environment variables in the sandbox, could be abused.
Solution:   Disallow it.
This commit is contained in:
Bram Moolenaar
2010-12-02 14:48:14 +01:00
parent df6b11e955
commit d4ddfafc2a
2 changed files with 3 additions and 1 deletions

View File

@@ -2326,7 +2326,7 @@ ex_let_one(arg, tv, copy, endchars, op)
else if (endchars != NULL
&& vim_strchr(endchars, *skipwhite(arg)) == NULL)
EMSG(_(e_letunexp));
else
else if (!check_secure())
{
c1 = name[len];
name[len] = NUL;