[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Thoughts on lua_checkstack() implicit usage
- From: Rebel Neurofog <rebelneurofog@...>
- Date: Fri, 21 Oct 2011 19:29:33 +0400
> 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?