lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On 16 Apr 2018, at 17:12, Roberto Ierusalimschy <> wrote:
> I have to recognize that the distinction between "e" and "v" here is not
> very clear. By that comment, that "it can run arbitrary Lua code, either
> directly or through metamethods", you are right that this one should
> have a "v".
>> Is there any way in which a call to lua_next() (with a valid table index and a valid key on the stack) could result in arbitrary code being run?
> No.

Many thanks Roberto for clarifying! Panic averted :-)