summaryrefslogtreecommitdiff
path: root/deps/lua
diff options
context:
space:
mode:
Diffstat (limited to 'deps/lua')
-rw-r--r--deps/lua/src/lua_cmsgpack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/lua/src/lua_cmsgpack.c b/deps/lua/src/lua_cmsgpack.c
index 892154793..49c6dc7b0 100644
--- a/deps/lua/src/lua_cmsgpack.c
+++ b/deps/lua/src/lua_cmsgpack.c
@@ -435,6 +435,7 @@ int table_is_an_array(lua_State *L) {
stacktop = lua_gettop(L);
+ luaL_checkstack(L, 2, "in function table_is_an_array");
lua_pushnil(L);
while(lua_next(L,-2)) {
/* Stack: ... key value */