[Rpm-maint] [rpm-software-management/rpm] Run each Lua chunk in an inherited, private environment (#1593)

Panu Matilainen notifications at github.com
Mon Apr 12 08:12:59 UTC 2021


The nil thing is indeed a Lua peculiarity with globals and how the environment is manipulated here, it basically prevents you from (accidentally) doing something nasty to the environment. https://www.lua.org/pil/14.3.html is technically outdated but explains the basic idea.

This patch is originally from last autumn when Lua was still optional, LUA_DISABLED is just a leftover and needs removing.

This also needs more thought than this... closing for now.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1593#issuecomment-817591856
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210412/42b7978e/attachment.html>


More information about the Rpm-maint mailing list