]> git.e2factory.org Git - e2factory.git/commit
Don't pass main string package into protected environment
authorTobias Ulmer <tu@emlix.com>
Tue, 25 Feb 2014 13:18:39 +0000 (14:18 +0100)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 14:41:17 +0000 (15:41 +0100)
commit118cd203b1026df1ccda4913ad6f18eef924914d
treee4d8b3b85ec23955a234721a90c16f2d28710477
parent0f8e8afbf01e2fee59496cd5c5fecf9a6cc843f4
Don't pass main string package into protected environment

The string package can easily be manipulated or variable passed around
in it. Supply each protected environment with its own copy of the
table and only add functions that are considered safe.
generic/e2lib.lua
local/chroot.lua
local/e2tool.lua
local/licence.lua