GNOME Bugzilla – Bug 742557
Prevent the accidental escaping of globals with Lua plugins
Last modified: 2015-02-14 20:33:19 UTC
It is very easy to create globals by accident in Lua, we should implement strict mode. This must be done before a new stable version is released. Example: http://metalua.luaforge.net/src/lib/strict.lua.html
Created attachment 295252 [details] [review] Prevent the accidental escaping of globals with Lua plugins This implements a strict mode which prevents the creation of globals, except when using rawset(). This can be disabled for incompatible code by setting __STRICT to false.
This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.