From e86e3cc234ffb53bf8645c324eabc517bd49fd90 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Tue, 23 Apr 2019 11:02:01 +0200 Subject: [PATCH] EventsFilter#Push(): ensure not to modify the global namespace --- lib/remote/eventqueue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/remote/eventqueue.cpp b/lib/remote/eventqueue.cpp index f4ede0426..178f095cc 100644 --- a/lib/remote/eventqueue.cpp +++ b/lib/remote/eventqueue.cpp @@ -263,7 +263,7 @@ void EventsFilter::Push(Dictionary::Ptr event) { for (auto& perFilter : m_Inboxes) { if (perFilter.first) { - ScriptFrame frame(true); + ScriptFrame frame(true, new Namespace()); frame.Sandboxed = true; try { -- 2.40.0