Skip to contentSkip to conversation

Remove patch that produces a segfault in the ptest of lua

PATCH Superseded Jan-Simon Möller 3 participants 4 messages Sep 10, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove patch that produces a segfault in the ptest of lua

From: Jan-Simon Moeller <[email protected]>

The patch file CVE-2020-15945.patch does cause a segfault in the lua ptest (db.lua test). According to upstream developers the patch is not correct and causes the segfault.

Reproduce: build core-image-minimal with lua and ptest-pkgs on .
Run: ptest-runner lua

This test passes if the patch is removed.

Please also backport to dunfell as well.

---
 meta-oe/recipes-devtools/lua/lua_5.3.6.bb | 1 -
 1 file changed, 1 deletion(-)
meta-oe/recipes-devtools/lua/lua_5.3.6.bb +0 -1
index f830e0925..af3054dcb 100644
@@ -8,7 +8,6 @@ SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz;name=tarballsrc \
            file://lua.pc.in \
            file://0001-Allow-building-lua-without-readline-on-Linux.patch \
            file://CVE-2020-15888.patch \
-           file://CVE-2020-15945.patch \
            file://0001-Fixed-bug-barriers-cannot-be-active-during-sweep.patch \
            "
 

--
2.32.0

#1 lore raw
Quoted 22 lines · Jan-Simon Möller

From: Jan-Simon Moeller <[email protected]>

The patch file CVE-2020-15945.patch does cause a segfault in the lua ptest (db.lua test). According to upstream developers the patch is not correct and causes the segfault.

Reproduce: build core-image-minimal with lua and ptest-pkgs on .
Run: ptest-runner lua

This test passes if the patch is removed.

Please also backport to dunfell as well.

---
  meta-oe/recipes-devtools/lua/lua_5.3.6.bb | 1 -
  1 file changed, 1 deletion(-)
meta-oe/recipes-devtools/lua/lua_5.3.6.bb +0 -0
index f830e0925..af3054dcb 100644

meta-oe/recipes-devtools/lua/lua_5.3.6.bb SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz;name=tarballsrc \ · line 11

Quoted 4 lines
meta-oe/recipes-devtools/lua/lua_5.3.6.bb +0 -1
@@ -8,7 +8,6 @@ SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz;name=tarballsrc \
             file://lua.pc.in \
             file://0001-Allow-building-lua-without-readline-on-Linux.patch \
             file://CVE-2020-15888.patch \
-           file://CVE-2020-15945.patch \

Can you also remove/delete the patch file itelf too and resend ?

Quoted 10 lines
meta-oe/recipes-devtools/lua/lua_5.3.6.bb +0 -1
             file://0001-Fixed-bug-barriers-cannot-be-active-during-sweep.patch \
             "
 
--

2.32.0

#2 lore raw

Yes, of course.
js

--
Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.Am 10.09.21, 19:38 schrieb Khem Raj <[email protected]>:

Quoted 22 lines · Jan-Simon Möller

From: Jan-Simon Moeller <[email protected]>

The patch file CVE-2020-15945.patch does cause a segfault in the lua ptest (db.lua test). According to upstream developers the patch is not correct and causes the segfault.

Reproduce: build core-image-minimal with lua and ptest-pkgs on .
Run: ptest-runner lua

This test passes if the patch is removed.

Please also backport to dunfell as well.

---
meta-oe/recipes-devtools/lua/lua_5.3.6.bb | 1 -

1 file changed, 1 deletion(-)
meta-oe/recipes-devtools/lua/lua_5.3.6.bb +0 -0
index f830e0925..af3054dcb 100644

meta-oe/recipes-devtools/lua/lua_5.3.6.bb SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz;name=tarballsrc \ · line 11

Quoted 4 lines
meta-oe/recipes-devtools/lua/lua_5.3.6.bb +0 -1
@@ -8,7 +8,6 @@ SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz;name=tarballsrc \
 file://lua.pc.in \
 file://0001-Allow-building-lua-without-readline-on-Linux.patch \
 file://CVE-2020-15888.patch \
- file://CVE-2020-15945.patch \

Can you also remove/delete the patch file itelf too and resend ?

Quoted 10 lines
meta-oe/recipes-devtools/lua/lua_5.3.6.bb +0 -0
 file://0001-Fixed-bug-barriers-cannot-be-active-during-sweep.patch \

"

--
2.32.0

#3 lore raw
In reply to Jan-Simon Möller
Quoted 4 lines · Jan-Simon Möller

From: Jan-Simon Moeller <[email protected]>

The patch file CVE-2020-15945.patch does cause a segfault in the lua ptest (db.lua test). According to upstream developers the patch is not correct and causes the segfault.

Their patch or the one ported to meta-oe as in a incomplete backport?

-armin

Quoted 31 lines

Reproduce: build core-image-minimal with lua and ptest-pkgs on .
Run: ptest-runner lua

This test passes if the patch is removed.

Please also backport to dunfell as well.

---
 meta-oe/recipes-devtools/lua/lua_5.3.6.bb | 1 -
 1 file changed, 1 deletion(-)
meta-oe/recipes-devtools/lua/lua_5.3.6.bb +0 -2
index f830e0925..af3054dcb 100644
@@ -8,7 +8,6 @@ SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz;name=tarballsrc \
            file://lua.pc.in \
            file://0001-Allow-building-lua-without-readline-on-Linux.patch \
            file://CVE-2020-15888.patch \
-           file://CVE-2020-15945.patch \
            file://0001-Fixed-bug-barriers-cannot-be-active-during-sweep.patch \
            "
 
--

2.32.0