From bb671c308930dc4cb8d67e8eed3664a23499bd95 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 25 May 2022 11:46:12 +0200 Subject: Remove debug.get/setmetatable from security whitelist fixes #12216 --- src/script/cpp_api/s_security.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/script/cpp_api/s_security.cpp') diff --git a/src/script/cpp_api/s_security.cpp b/src/script/cpp_api/s_security.cpp index f68cd1777..88e22f16f 100644 --- a/src/script/cpp_api/s_security.cpp +++ b/src/script/cpp_api/s_security.cpp @@ -128,8 +128,6 @@ void ScriptApiSecurity::initializeSecurity() "gethook", "traceback", "getinfo", - "getmetatable", - "setmetatable", "upvalueid", "sethook", "debug", -- cgit v1.2.3