Skip to content
Snippets Groups Projects
Commit abd4a79a authored by ShadowNinja's avatar ShadowNinja
Browse files

Remove debug.getupvalue from the Lua sandbox whitelist

This function could be used to steal insecure environments from trusted mods.
parent 8b006a15
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,6 @@ void ScriptApiSecurity::initializeSecurity()
"upvaluejoin",
"sethook",
"debug",
"getupvalue",
"setlocal",
};
static const char *package_whitelist[] = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment