lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: Can lua_next() error?
From
: Viacheslav Usov <via.usov@
...
>
Date
: Mon, 16 Apr 2018 17:24:30 +0200
On Mon, Apr 16, 2018 at 2:22 PM, Tom Sutcliffe
<
tomsci@me.com
>
wrote:
> I've been reviewing some of my native code for safety and noticed that I've been assuming lua_next() will not raise arbitrary errors.
Not only can it raise an error, it can also crash.
http://lua-users.org/lists/lua-l/2017-12/msg00057.html
I am not sure whether the thread above should mean it is OK for it to crash in the given circumstances, but since you are checking for safety, this is definitely something to beware.
Cheers,
V.
Follow-Ups
:
Re: Can lua_next() error?
,
Roberto Ierusalimschy
References
:
Can lua_next() error?
,
Tom Sutcliffe
Prev by Date:
Re: Can lua_next() error?
Next by Date:
Re: Can lua_next() error?
Previous by thread:
Re: Can lua_next() error?
Next by thread:
Re: Can lua_next() error?
Index(es):
Date
Thread