Skip to contentSkip to conversation

luajit: advance SRCREV to fix two CVE's

PATCH Joe Slater 2 participants 4 messages Sep 11, 2020 – Sep 14, 2020 1 message not in the archive

lore
Share & tools
lore

Joe Slater

author
#1 lore raw
In reply to a message not in the archive

No comments on this? I do not see it has been accepted. Joe

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Joe Slater
Sent: Thursday, September 3, 2020 6:58 AM
To: [email protected]
Cc: Slater, Joseph <[email protected]>; MacLeod, Randy <[email protected]>
Subject: [oe] [meta-oe][PATCH 1/1] luajit: advance SRCREV to fix two CVE's

Fix CVE-2020-15890 and CVE-2020-24372.

Also change PV format because the reference to 2.1.0-beta3 was already far behind the SRCREV. Now, base PV on the branch name and date of SRCREV commit.

---
 meta-oe/recipes-devtools/luajit/luajit_git.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/luajit/luajit_git.bb +4 -2
index cc9039416..820722195 100644
@@ -3,13 +3,15 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771"
 HOMEPAGE = "http://luajit.org"
 
-PV = "2.1.0~beta3"
-SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22"
 SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \
            file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \
            file://clang.patch \
            "
 
+# Set PV to the branch and date associated with SRCREV.
+PV = "v2.1-200809"
+SRCREV = "94d4abcca966df2cc423e821bcacd04898f73117"
+
 S = "${WORKDIR}/git"
 
 inherit pkgconfig binconfig siteinfo

--
2.17.1

#2 lore raw
Quoted 1 line · Joe Slater

No comments on this? I do not see it has been accepted. Joe

Thanks for reminder, there was a comment I made

https://lists.openembedded.org/g/openembedded-devel/topic/76607300#86861

patchwork also noticed it.

https://patchwork.openembedded.org/patch/176016/

Quoted 45 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Joe Slater
Sent: Thursday, September 3, 2020 6:58 AM
To: [email protected]
Cc: Slater, Joseph <[email protected]>; MacLeod, Randy <[email protected]>
Subject: [oe] [meta-oe][PATCH 1/1] luajit: advance SRCREV to fix two CVE's

Fix CVE-2020-15890 and CVE-2020-24372.

Also change PV format because the reference to 2.1.0-beta3 was already far behind the SRCREV. Now, base PV on the branch name and date of SRCREV commit.

---
 meta-oe/recipes-devtools/luajit/luajit_git.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/luajit/luajit_git.bb +4 -3
index cc9039416..820722195 100644
@@ -3,13 +3,15 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771"
 HOMEPAGE = "http://luajit.org"
 
-PV = "2.1.0~beta3"
-SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22"
 SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \
            file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \
            file://clang.patch \
            "
 
+# Set PV to the branch and date associated with SRCREV.
+PV = "v2.1-200809"
+SRCREV = "94d4abcca966df2cc423e821bcacd04898f73117"
+
 S = "${WORKDIR}/git"
 
 inherit pkgconfig binconfig siteinfo
--

2.17.1

author
#3 lore raw

Yeah, I should have checked that out, but why below 2.1.0? If we change the format, we will never have a 2.1.0, But maybe a format of 2.1.0~? or 2.1.0-? would be better.

Joe

-----Original Message-----
From: Khem Raj <[email protected]>
Sent: Friday, September 11, 2020 9:49 PM
To: Slater, Joseph <[email protected]>; [email protected]
Cc: MacLeod, Randy <[email protected]>
Subject: Re: [oe] [meta-oe][PATCH 1/1] luajit: advance SRCREV to fix two CVE's

Quoted 1 line · Joe Slater

No comments on this? I do not see it has been accepted. Joe

Thanks for reminder, there was a comment I made

https://lists.openembedded.org/g/openembedded-devel/topic/76607300#86861

patchwork also noticed it.

https://patchwork.openembedded.org/patch/176016/

Quoted 45 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Joe Slater
Sent: Thursday, September 3, 2020 6:58 AM
To: [email protected]
Cc: Slater, Joseph <[email protected]>; MacLeod, Randy <[email protected]>
Subject: [oe] [meta-oe][PATCH 1/1] luajit: advance SRCREV to fix two CVE's

Fix CVE-2020-15890 and CVE-2020-24372.

Also change PV format because the reference to 2.1.0-beta3 was already far behind the SRCREV. Now, base PV on the branch name and date of SRCREV commit.

---
 meta-oe/recipes-devtools/luajit/luajit_git.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/luajit/luajit_git.bb +4 -3
index cc9039416..820722195 100644
@@ -3,13 +3,15 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771"
 HOMEPAGE = "http://luajit.org"
 
-PV = "2.1.0~beta3"
-SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22"
 SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \
            file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \
            file://clang.patch \
            "
 
+# Set PV to the branch and date associated with SRCREV.
+PV = "v2.1-200809"
+SRCREV = "94d4abcca966df2cc423e821bcacd04898f73117"
+
 S = "${WORKDIR}/git"
 
 inherit pkgconfig binconfig siteinfo
--

2.17.1

#4 lore raw

2.1.0 will be next release whenever it happens, Current naming allows that to drop the string after ~ and 2.1.0 will sort above that. you might do somehting like 2.1.0~beta3+<date> perhaps.

Quoted 70 lines · Joseph

Yeah, I should have checked that out, but why below 2.1.0? If we change the format, we will never have a 2.1.0, But maybe a format of 2.1.0~? or 2.1.0-? would be better.

Joe

-----Original Message-----
From: Khem Raj <[email protected]>
Sent: Friday, September 11, 2020 9:49 PM
To: Slater, Joseph <[email protected]>; [email protected]
Cc: MacLeod, Randy <[email protected]>
Subject: Re: [oe] [meta-oe][PATCH 1/1] luajit: advance SRCREV to fix two CVE's

Quoted 1 line · Joe Slater

No comments on this? I do not see it has been accepted. Joe

Thanks for reminder, there was a comment I made

https://lists.openembedded.org/g/openembedded-devel/topic/76607300#86861

patchwork also noticed it.

https://patchwork.openembedded.org/patch/176016/

Quoted 45 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Joe Slater
Sent: Thursday, September 3, 2020 6:58 AM
To: [email protected]
Cc: Slater, Joseph <[email protected]>; MacLeod, Randy <[email protected]>
Subject: [oe] [meta-oe][PATCH 1/1] luajit: advance SRCREV to fix two CVE's

Fix CVE-2020-15890 and CVE-2020-24372.

Also change PV format because the reference to 2.1.0-beta3 was already far behind the SRCREV. Now, base PV on the branch name and date of SRCREV commit.

---
  meta-oe/recipes-devtools/luajit/luajit_git.bb | 6 ++++--
  1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/luajit/luajit_git.bb +4 -3
index cc9039416..820722195 100644
@@ -3,13 +3,15 @@ LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d739bb9250a55c124a545b588fd76771"
  HOMEPAGE = "http://luajit.org"
 
-PV = "2.1.0~beta3"
-SRCREV = "0ad60ccbc3768fa8e3e726858adf261950edbc22"
  SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \
             file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \
             file://clang.patch \
             "
 
+# Set PV to the branch and date associated with SRCREV.
+PV = "v2.1-200809"
+SRCREV = "94d4abcca966df2cc423e821bcacd04898f73117"
+
  S = "${WORKDIR}/git"
 
  inherit pkgconfig binconfig siteinfo
--

2.17.1