[Bug 271561] lang/lua54: Update to 5.4.6

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 04 Jun 2023 13:31:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271561

--- Comment #2 from Andrew "RhodiumToad" Gierth <andrew@tao11.riddles.org.uk> ---
(In reply to Robert Clausecker from comment #1)

5.4.6 fixes the following bugs in 5.4.4 and 5.4.5:

Lua 5.4.5:
    Changing the signature of 'lua_resetthread' broke ABI.

Lua 5.4.4:
    lua.c assumes that argv has at least one element.
    Lua can generate wrong code when _ENV is <const>.
    Wrong code generation for constants in bitwise operations. 
    Lua-stack overflow when C stack overflows while handling an error.
    'lua_settop' may use a pointer to stack invalidated by 'luaF_close'.
    'break' may not properly close variable in a 'for' loop. 
    GC not setting a proper target for next cycle after a full collection in
generational mode.
    'utf8.codes' does not raise an error on spurious continuation bytes.
    C-stack overflow with deep nesting of coroutine.close.
    Wrong line in error message for arithmetic errors.
    Loading a corrupted binary file can segfault.

In addition some improvements have been made to the manual.

-- 
You are receiving this mail because:
You are the assignee for the bug.