leave a note on a potential future Lua sandbox issue

This commit is contained in:
nhkeni
2023-02-04 09:50:49 -05:00
parent 17aeee27a5
commit 31d5fecbb2

View File

@@ -2018,6 +2018,8 @@ static struct e ct_base_iffy[] = {
};
/* NHL_BASE_UNSAFE - include only if required */
/* TODO: if NHL_BASE_UNSAFE is ever used, we need to wrap lua_load with
* something to forbid mode=="b" */
static struct e ct_base_unsafe[] = {
{IFFLAG, "dofile"},
{IFFLAG, "loadfile"},