Package: lua5.4 / 5.4.4-3

Metadata

Package Version Patches format
lua5.4 5.4.4-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 build system.patch | (download)

Makefile | 21 11 + 10 - 0 !
src/Makefile | 55 34 + 21 - 0 !
2 files changed, 45 insertions(+), 31 deletions(-)

 build system


0002 lua modules paths.patch | (download)

src/luaconf.h | 10 9 + 1 - 0 !
1 file changed, 9 insertions(+), 1 deletion(-)

 lua modules paths


0003 extern_C.patch | (download)

src/luaconf.h | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 extern_c


0004 cve 2022 28805.patch | (download)

src/lparser.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 [patch] bug: lua can generate wrong code when _env is <const>
Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010265


0005 cve 2022 33099.patch | (download)

src/ldebug.c | 5 4 + 1 - 0 !
src/lvm.c | 6 4 + 2 - 0 !
2 files changed, 8 insertions(+), 3 deletions(-)

 [patch] save stack space while handling errors
 Because error handling (luaG_errormsg) uses slots from EXTRA_STACK,
 and some errors can recur (e.g., string overflow while creating an
 error message in 'luaG_runerror', or a C-stack overflow before calling
 the message handler), the code should use stack slots with parsimony.
 This commit fixes the bug "Lua-stack overflow when C stack overflows
 while handling an error".
 Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014935