-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
neovim/neovim
#9776Description
I have been thinking about the sandbox, and it has occurred to me that lambda functions should not be permitted for code running in the sandbox. Consider the following:
- User installs a plugin which evaluates functions based on global variables.
- A global variable is set in the sandbox with a lambda function.
- User triggers that plugin somehow, which in turn executes the lambda function from the setting.
You can't define functions in the sandbox, so this isn't an issue with the :function
command, but is with lambda functions.
Metadata
Metadata
Assignees
Labels
No labels