1 From: Enrico Tassi <gareuselesinge@debian.org>
2 Date: Tue, 26 Aug 2014 16:20:55 +0200
3 Subject: Fix stack overflow in vararg functions
7 1 file changed, 1 insertion(+), 1 deletion(-)
11 @@ -274,7 +274,7 @@ int luaD_precall (lua_State *L, StkId fu
15 - luaD_checkstack(L, p->maxstacksize);
16 + luaD_checkstack(L, p->maxstacksize + p->numparams);
17 func = restorestack(L, funcr);
18 if (!p->is_vararg) { /* no varargs? */