lua-users home
lua-l archive

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


> The problem comes with implicit stack usage by calls like luaL_ref() (and others I presume).

As for me, luaL_checkstack () bothers me the most.
This function is supposed to grow extra stack space or throw error if
stack can't grow anymore.
And so it does: it calls luaL_error () which seems to use additional
stack space WITHOUT checking extra space.
Sounds like major security issue.
Do I miss something?