mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00: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
1 changed files with 0 additions and 1 deletions
|
@ -116,7 +116,6 @@ void ScriptApiSecurity::initializeSecurity()
|
||||||
"upvaluejoin",
|
"upvaluejoin",
|
||||||
"sethook",
|
"sethook",
|
||||||
"debug",
|
"debug",
|
||||||
"getupvalue",
|
|
||||||
"setlocal",
|
"setlocal",
|
||||||
};
|
};
|
||||||
static const char *package_whitelist[] = {
|
static const char *package_whitelist[] = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue