mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Remove debug.getupvalue from the Lua sandbox whitelist
This function could be used to steal insecure environments from trusted mods.
This commit is contained in:
parent
8b006a154b
commit
abd4a79acb
@ -116,7 +116,6 @@ void ScriptApiSecurity::initializeSecurity()
|
||||
"upvaluejoin",
|
||||
"sethook",
|
||||
"debug",
|
||||
"getupvalue",
|
||||
"setlocal",
|
||||
};
|
||||
static const char *package_whitelist[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user