[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Can lua_next() error?
- From: Tom Sutcliffe <tomsci@...>
- Date: Mon, 16 Apr 2018 17:52:18 +0100
On 16 Apr 2018, at 17:12, Roberto Ierusalimschy <roberto@inf.puc-rio.br> 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 :-)
Cheers,
Tom