lua: Backport fix for CVE-2022-33099

Fixes stack overflow while handling recurring errors in Lua-stack

(From OE-Core rev: caad9d5f7184f0fa60fa7770e5d3da3f533647cb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2022-07-17 07:50:27 -07:00
committed by Richard Purdie
parent 7e6fed6af7
commit 832fb7c1c3
2 changed files with 62 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ HOMEPAGE = "http://www.lua.org/"
SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz;name=tarballsrc \
file://lua.pc.in \
file://CVE-2022-28805.patch \
file://CVE-2022-33099.patch \
${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'http://www.lua.org/tests/lua-${PV_testsuites}-tests.tar.gz;name=tarballtest file://run-ptest ', '', d)} \
"