Re: Bug: OP_VARARGPREP missing IT flag corrupts vararg parameters in test builds

Roberto Ierusalimschy <[email protected]> Thu, 4 Jun 2026 15:43:24 -0300
Newsgroups gmane.comp.lang.lua.general
Message-ID <[email protected]>
> I found a bug introduced in commit 36c1f6d9 ("Small correction in luaP_opmodes", 2026-04-29) which removed the IT bit from OP_VARARGPREP. The commit message states "OP_VARARGPREP neither sets nor uses L->top", but luaT_adjustvarargs reads L->top on its first line to compute totalargs:
> 
> [...]

This has been fixed but we hadn't pushed the correction to github. It should
be Ok now.

-- Roberto

-- 
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/lua-l/20260604184324.GA178211%40arraial.inf.puc-rio.br.