Re: Interesting stack overflow in Lua 5.3
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Interesting stack overflow in Lua 5.3
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 3 Sep 2015 14:47:26 -0300
> The following function, when invoked, causes a C stack overflow
> in Lua 5.3.
>
> local subsystem_mt = {__index =
> function(spec,auction)
> for key,bid in ipairs(spec) do
> print("Checking '"..auction.."' against '"..key.."'")
> end
> end}
I may be missing something, but "The following function" does not seem
to be a function. It looks like a table... (Therefore, I do not know
how to invoke it to cause something.)
-- Roberto