You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lz_filter_impl may be called from Lua with no input parameters in which case we wouldn't want to call lua_tolstring() on a non-existent stack element.
Thanks for explanation, but if this jugement is for empty parameters, I think it should be > 1 because luaL_buffinit will always push an userdata on stack.
Above is an example of empty parameters, lua_tolstring returns NULL if convert failed.
I notice the following code snippet in
lz_filter_impl
function:however there is always a
luaL_buffinit
before this, so the stack may always larger than 0 ? Thanks for explanation :)The text was updated successfully, but these errors were encountered: