Merge branch 'master' into v2.1

This commit is contained in:
Mike Pall 2021-07-21 12:32:19 +02:00
commit c2dd3b4d34

View File

@ -1134,7 +1134,7 @@ if(!cl->isC){
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);
if(!p->is_vararg){
base=func+1;