We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbb0540 commit 379394aCopy full SHA for 379394a
2 files changed
VM/src/lll.cpp
@@ -382,6 +382,7 @@ static int ll_dumplist2string(lua_State *L)
382
{
383
luaL_checktype(L, 1, LUA_TTABLE);
384
luaL_checktype(L, 2, LUA_TSTRING);
385
+ lua_settop(L, 2);
386
auto *h = hvalue(luaA_toobject(L, 1));
387
int len = luaH_getn(h);
388
VM/src/llsl.cpp
@@ -598,6 +598,7 @@ static int lsl_table_concat(lua_State *L)
598
if (lua_type(L, 1) != LUA_TTABLE && lua_type(L, 2) != LUA_TTABLE)
599
luaL_errorL(L, "At least one argument must be a table");
600
601
602
lua_checkstack(L, 4);
603
604
// Note: reversed because of LSL evaluation order!
0 commit comments