lua-users home
lua-l archive

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


>    [BUG]
>    Lua toclose in lua_settop() may crash ! 
>        //   StkId newtop = L->top + diff;
>        //   if (diff < 0 && L->tbclist >= newtop) {
>        //    luaF_close(L, newtop, CLOSEKTOP, 0);
>        //   }
>        //   L->top = newtop;  // newtop already invalid !!!
> 
> [...]

Shure! Many thanks for the report.

-- Roberto