lua-users home
lua-l archive

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


On 14 December 2017 at 03:57, Russell Haley <russ.haley@gmail.com> wrote:
> For my edification, if it *could* occur would this be considered a memory leak?

No. It would be an incorrect use of stack.
If a different luaL_buffinit implementation decided to push something
onto the stack unconditionally then e.g. the lua_rawgeti in findloader
would operate on the wrong index (which is likely to not be a table,
and hence likely to crash!)