mirror of
https://gitcode.com/JianFeeeee/LuaCangjia_api.git
synced 2026-09-19 16:42:48 +00:00
ref 记录 gettop+1, lua_remove 应使用 ref-1; clean() 中恒越界的 逐个 remove 循环为死代码(settop(L,0) 已清栈)予以删除。 该 bug 在 Lua 5.4 隐式容忍, 在严格实现下会损坏虚拟栈。
ref 记录 gettop+1, lua_remove 应使用 ref-1; clean() 中恒越界的 逐个 remove 循环为死代码(settop(L,0) 已清栈)予以删除。 该 bug 在 Lua 5.4 隐式容忍, 在严格实现下会损坏虚拟栈。