HomeFreeBSD

lang/lua54: update to 5.4.6

Description

lang/lua54: update to 5.4.6

Submitter becomes maintainer.

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.

PR: 271561
Approved by: russ.haley@gmail.com (maintainer timeout, two weeks)

Details

Provenance
Andrew "RhodiumToad" Gierth <andrew@tao11.riddles.org.uk>Authored on Jun 7 2023, 7:56 AM
fuzCommitted on Jun 8 2023, 10:51 AM
Parents
R11:2cea054a582b: converters/R-cran-jsonlite: update to 1.8.5
Branches
Unknown
Tags
Unknown

Event Timeline

fuz committed R11:b4c88d1e7141: lang/lua54: update to 5.4.6 (authored by Andrew "RhodiumToad" Gierth <andrew@tao11.riddles.org.uk>).Jun 8 2023, 10:51 AM