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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user