lua-users home
lua-l archive

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


> My question is whether it was supposed to crash. 

Yes. "When you interact with Lua API, you are responsible for controlling
stack overflow."

> Are the function in the aux lib safe to be used without 
> checking (stack size checking, for example).

No. Every function that deals with the stack must receive "acceptable
indices" as defined in the manual (chapter 3.2).

-- Danilo