From: Enrico Tassi Date: Tue, 26 Aug 2014 16:20:55 +0200 Subject: Fix stack overflow in vararg functions --- src/ldo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ldo.c b/src/ldo.c index d1bf786..30333bf 100644 --- a/src/ldo.c +++ b/src/ldo.c @@ -274,7 +274,7 @@ int luaD_precall (lua_State *L, StkId func, int nresults) { CallInfo *ci; StkId st, base; Proto *p = cl->p; - luaD_checkstack(L, p->maxstacksize); + luaD_checkstack(L, p->maxstacksize + p->numparams); func = restorestack(L, funcr); base = func + 1; pe='hidden' name='id' value='07ce23e011d18460e7ff5553d4ff640f7073075b'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/utils.scm
AgeCommit message (Expand)Author
2019-06-20utils: canonical-newline-port: Fix handling of carriage return at buffer end....Robert Vollmert
2019-05-27utils: Support compression and decompression with lzip....Ludovic Courtès
2019-05-27utils: Test 'compressed-port' and 'decompressed-port' for both gzip and xz....Ludovic Courtès