graphene: ignore CVE-2024-1984
PATCH 1/6 graphene: ignore CVE-2024-1984
This CVE is for a WordPress theme called Graphene. It's likely that the CPE for this graphene will be gnome:graphene but this hasn't been formally documented, so exclude this one CVE for now.
--- meta/recipes-graphics/graphene/graphene_1.10.8.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-graphics/graphene/graphene_1.10.8.bb +2 -0
@@ -26,3 +26,5 @@ EXTRA_OEMESON = "-Dinstalled_tests=false" FILES:${PN} += "${libdir}/graphene-1.0" BBCLASSEXTEND = "native nativesdk" + +CVE_STATUS[CVE-2024-1984] = "cpe-incorrect: issue in a WordPress theme"
Signature · 1 line
2.43.0
PATCH 2/6 re2c: backport fix for CVE-2026-2903
Backport a patch from upstream to fix CVE-2026-2903.
--- .../re2c/re2c/CVE-2026-2903.patch | 68 +++++++++++++++++++ meta/recipes-support/re2c/re2c_4.4.bb | 4 +- 2 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/re2c/re2c/CVE-2026-2903.patch
meta/recipes-support/re2c/re2c/CVE-2026-2903.patch new file +68 -0
@@ -0,0 +1,68 @@ +From febeb977936f9519a25d9fbd10ff8256358cdb97 Mon Sep 17 00:00:00 2001 +From: Ulya Trofimovich <[email protected]> +Date: Tue, 3 Feb 2026 21:33:11 +0000 +Subject: [PATCH] Fix null pointer dereference when actions are used without + rules. + +Null pointer dereference happened because the root TNFA state was null: +there were no rules for a block, but determinization still happened. + +In this case re2c should emit an error and never even attempt +determinization. It was properly handled for blocks with start +conditions, but not for normal blocks. + +This addresses #571 "[Bug] Segmentation Fault (NULL Dereference) in +re2c::closure_leftmost_dfs during determinization". + +CVE: CVE-2026-2903 +Upstream-Status: Backport +Signed-off-by: Ross Burton <[email protected]> +--- + src/parse/ast.cc | 19 +++++++++++++++---- + test/conditions/cond_error_10.c | 2 +- + 2 files changed, 16 insertions(+), 5 deletions(-) + +diff --git a/src/parse/ast.cc b/src/parse/ast.cc +index 91865e801..986cfb7da 100644 +--- a/src/parse/ast.cc ++++ b/src/parse/ast.cc +@@ -332,10 +332,6 @@ Ret check_and_merge_special_rules(AstGrams& grams, const opt_t* opts, Msg& msg, + all_conds_have_it = false; \ + } else if (g.name == STAR_COND) { \ + star_action = g.action[0]; \ +- } else if (g.rules.empty()) { \ +- RET_FAIL(msg.error(g.action[0]->loc, \ +- "%s action for non-existing condition `%s` found", \ +- str, g.name.c_str())); \ + } \ + } \ + if (star_action && all_conds_have_it) { \ +@@ -422,6 +418,21 @@ Ret check_and_merge_special_rules(AstGrams& grams, const opt_t* opts, Msg& msg, + } + } + ++ for (const AstGram& g : grams) { ++ if (g.rules.empty()) { ++#define CHECK_ACTION(action, str) do { \ ++ if (!g.action.empty()) { \ ++ RET_FAIL(msg.error(g.action[0]->loc, \ ++ "%s action %sbut no rules found", str, incond(g.name).c_str())); \ ++ } \ ++} while(0) ++ CHECK_ACTION(entry, "entry"); ++ CHECK_ACTION(pre_rule, "pre-rule"); ++ CHECK_ACTION(post_rule, "post-rule"); ++#undef CHECK_ACTION ++ } ++ } ++ + // zero condition must be the first one. + auto zero = std::find_if( + grams.begin(), grams.end(), [](const AstGram& g) { return g.name == ZERO_COND; }); +diff --git a/test/conditions/cond_error_10.c b/test/conditions/cond_error_10.c +index 571028a22..3bfde301b 100644 +--- a/test/conditions/cond_error_10.c ++++ b/test/conditions/cond_error_10.c +@@ -1 +1 @@ +-conditions/cond_error_10.re:7:5: error: pre-rule action for non-existing condition `c` found ++conditions/cond_error_10.re:7:5: error: pre-rule action in condition 'c' but no rules found
meta/recipes-support/re2c/re2c_4.4.bb +3 -1
@@ -6,7 +6,9 @@ SECTION = "devel" LICENSE = "PD" LIC_FILES_CHKSUM = "file://LICENSE;md5=64eca4d8a3b67f9dc7656094731a2c8d" -SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BPN}-${PV}.tar.xz" +SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BPN}-${PV}.tar.xz \ + file://CVE-2026-2903.patch" + SRC_URI[sha256sum] = "6b6b865924447ef992d5db4e52fb9307e5f65f26edd43efa91395da810f4280a" GITHUB_BASE_URI = "https://github.com/skvadrik/re2c/releases"
Signature · 1 line
2.43.0
PATCH 3/6 python3-requests: backport fix for CVE-2026-25645
In reply to Ross BurtonWhen unpacking zip files requests uses predictable paths. Backport a fix to use randomly generated pathnames to mitigate injection attacks.
--- .../python3-requests/CVE-2026-25645.patch | 46 +++++++++++++++++++ .../python/python3-requests_2.32.5.bb | 1 + 2 files changed, 47 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-requests/CVE-2026-25645.patch
meta/recipes-devtools/python/python3-requests/CVE-2026-25645.patch new file +46 -0
@@ -0,0 +1,46 @@ +From 66d21cb07bd6255b1280291c4fafb71803cdb3b7 Mon Sep 17 00:00:00 2001 +From: Nate Prewitt <[email protected]> +Date: Wed, 25 Mar 2026 08:57:56 -0600 +Subject: [PATCH] Merge commit from fork + +Prior to version 2.33.0, the `requests.utils.extract_zipped_paths()` utility function +uses a predictable filename when extracting files from zip archives into the system +temporary directory. If the target file already exists, it is reused without validation. +A local attacker with write access to the temp directory could pre-create a malicious +file that would be loaded in place of the legitimate one. Standard usage of the Requests +library is not affected by this vulnerability. Only applications that call +`extract_zipped_paths()` directly are impacted. Starting in version 2.33.0, the library +extracts files to a non-deterministic location. If developers are unable to upgrade, +they can set `TMPDIR` in their environment to a directory with restricted write access. + +CVE: CVE-2026-25645 +Upstream-Status: Backport +Signed-off-by: Ross Burton <[email protected]> +--- + src/requests/utils.py | 13 +++++++------ + 1 file changed, 7 insertions(+), 6 deletions(-) + +diff --git a/src/requests/utils.py b/src/requests/utils.py +index d8803e6e91..54959bb8ab 100644 +--- a/src/requests/utils.py ++++ b/src/requests/utils.py +@@ -282,12 +282,13 @@ def extract_zipped_paths(path): + return path + + # we have a valid zip archive and a valid member of that archive +- tmp = tempfile.gettempdir() +- extracted_path = os.path.join(tmp, member.split("/")[-1]) +- if not os.path.exists(extracted_path): +- # use read + write to avoid the creating nested folders, we only want the file, avoids mkdir racing condition +- with atomic_open(extracted_path) as file_handler: +- file_handler.write(zip_file.read(member)) ++ suffix = os.path.splitext(member.split("/")[-1])[-1] ++ fd, extracted_path = tempfile.mkstemp(suffix=suffix) ++ try: ++ os.write(fd, zip_file.read(member)) ++ finally: ++ os.close(fd) ++ + return extracted_path + +
meta/recipes-devtools/python/python3-requests_2.32.5.bb +1 -0
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" SRC_URI:append:class-nativesdk = " \ file://environment.d-python3-requests.sh \ + file://CVE-2026-25645.patch \ " SRC_URI[sha256sum] = "dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf"
Signature · 1 line
2.43.0
PATCH 4/6 libexif: backport fixes for CVE-2026-40385/CVE-2026-40386/CVE-2026-32775
In reply to Ross BurtonBackport the fixes for these three CVEs from upstream.
--- .../0001-check-maxlen-to-be-at-least-1.patch | 74 +++++++++++++++++++ ...-fixed-2-unsigned-integer-underflows.patch | 46 ++++++++++++ ...n-32bit-system-when-reading-Nikon-Ma.patch | 36 +++++++++ .../recipes-support/libexif/libexif_0.6.25.bb | 3 + 4 files changed, 159 insertions(+) create mode 100644 meta/recipes-support/libexif/libexif/0001-check-maxlen-to-be-at-least-1.patch create mode 100644 meta/recipes-support/libexif/libexif/0002-fixed-2-unsigned-integer-underflows.patch create mode 100644 meta/recipes-support/libexif/libexif/0003-Avoid-overflow-on-32bit-system-when-reading-Nikon-Ma.patch
meta/recipes-support/libexif/libexif/0001-check-maxlen-to-be-at-least-1.patch new file +74 -0
@@ -0,0 +1,74 @@ +From 2d12cc141c4d799cea2b42639645db5142940ff7 Mon Sep 17 00:00:00 2001 +From: Marcus Meissner <[email protected]> +Date: Mon, 9 Mar 2026 10:02:53 +0100 +Subject: [PATCH 1/3] check maxlen to be at least 1 + +maxlen-- on 0 will become a high value. + +(likely found by AI) + +Fixes https://github.com/libexif/libexif/issues/247 + +CVE: CVE-2026-32775 +Upstream-Status: Backport +Signed-off-by: Ross Burton <[email protected]> +--- + libexif/canon/mnote-canon-entry.c | 2 ++ + libexif/fuji/mnote-fuji-entry.c | 1 + + libexif/olympus/mnote-olympus-entry.c | 2 ++ + libexif/pentax/mnote-pentax-entry.c | 1 + + 5 files changed, 8 insertions(+) + +diff --git a/libexif/canon/mnote-canon-entry.c b/libexif/canon/mnote-canon-entry.c +index de0fac4..2849d5b 100644 +--- a/libexif/canon/mnote-canon-entry.c ++++ b/libexif/canon/mnote-canon-entry.c +@@ -561,6 +561,8 @@ mnote_canon_entry_get_value (const MnoteCanonEntry *entry, unsigned int t, char + + if (!entry) + return NULL; ++ if (maxlen < 1) ++ return NULL; + + data = entry->data; + size = entry->size; +diff --git a/libexif/fuji/mnote-fuji-entry.c b/libexif/fuji/mnote-fuji-entry.c +index 47e01ed..5d9f16f 100644 +--- a/libexif/fuji/mnote-fuji-entry.c ++++ b/libexif/fuji/mnote-fuji-entry.c +@@ -201,6 +201,7 @@ mnote_fuji_entry_get_value (MnoteFujiEntry *entry, + int i, j; + + if (!entry) return (NULL); ++ if (maxlen < 1) return NULL; + + memset (val, 0, maxlen); + maxlen--; +diff --git a/libexif/olympus/mnote-olympus-entry.c b/libexif/olympus/mnote-olympus-entry.c +index e5200be..f938d40 100644 +--- a/libexif/olympus/mnote-olympus-entry.c ++++ b/libexif/olympus/mnote-olympus-entry.c +@@ -286,6 +286,8 @@ mnote_olympus_entry_get_value (MnoteOlympusEntry *entry, char *v, unsigned int m + + if (!entry) + return (NULL); ++ if (maxlen < 1) ++ return NULL; + + memset (v, 0, maxlen); + maxlen--; +diff --git a/libexif/pentax/mnote-pentax-entry.c b/libexif/pentax/mnote-pentax-entry.c +index 46900c3..0a6f87a 100644 +--- a/libexif/pentax/mnote-pentax-entry.c ++++ b/libexif/pentax/mnote-pentax-entry.c +@@ -317,6 +317,7 @@ mnote_pentax_entry_get_value (MnotePentaxEntry *entry, + int i = 0, j = 0; + + if (!entry) return (NULL); ++ if (maxlen < 1) return (NULL); + + memset (val, 0, maxlen); + maxlen--; +-- +2.43.0 +
meta/recipes-support/libexif/libexif/0002-fixed-2-unsigned-integer-underflows.patch new file +46 -0
46 lines not on this page · raw message
meta/recipes-support/libexif/libexif/0003-Avoid-overflow-on-32bit-system-when-reading-Nikon-Ma.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 62f657ab2b01ede7ab85adbdec333c81176518e9 Mon Sep 17 00:00:00 2001 +From: Marcus Meissner <[email protected]> +Date: Fri, 3 Apr 2026 11:18:47 +0200 +Subject: [PATCH 3/3] Avoid overflow on 32bit system when reading Nikon + MakerNotes + +The addition o2 = datao + exif_get_long(buf + o2, n->order) +could have overflowed on systems with 32bit unsigned int size_t. + +This could have caused out of bound reads of data, leading to +misparsing of exif / crashes. + +Reported-By: Kerwin <[email protected]> + +CVE: CVE-2026-40385 +Upstream-Status: Backport +Signed-off-by: Ross Burton <[email protected]> +--- + libexif/olympus/exif-mnote-data-olympus.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libexif/olympus/exif-mnote-data-olympus.c b/libexif/olympus/exif-mnote-data-olympus.c +index 428f365..37f08ff 100644 +--- a/libexif/olympus/exif-mnote-data-olympus.c ++++ b/libexif/olympus/exif-mnote-data-olympus.c +@@ -386,6 +386,7 @@ exif_mnote_data_olympus_load (ExifMnoteData *en, + o2 += 2; + + /* Go to where the number of entries is. */ ++ if (CHECKOVERFLOW(o2,buf_size,exif_get_long (buf + o2, n->order))) return; + o2 = datao + exif_get_long (buf + o2, n->order); + break; + +-- +2.43.0 +
meta/recipes-support/libexif/libexif_0.6.25.bb +3 -0
@@ -9,6 +9,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad" SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libexif-${PV}.tar.bz2 \ file://0001-Add-serial-tests-config-needed-by-ptest.patch \ + file://0001-check-maxlen-to-be-at-least-1.patch \ + file://0002-fixed-2-unsigned-integer-underflows.patch \ + file://0003-Avoid-overflow-on-32bit-system-when-reading-Nikon-Ma.patch \ file://run-ptest \ "
Signature · 1 line
2.43.0
RE: [OE-core] [PATCH 4/6] libexif: backport fixes for CVE-2026-40385/CVE-2026-40386/CVE-2026-32775
I have sent upgrade instead of patches.
Peter
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Ross Burton via lists.openembedded.org
Sent: Tuesday, April 14, 2026 5:57 PM
To: [email protected]
Subject: [OE-core] [PATCH 4/6] libexif: backport fixes for CVE-2026-40385/CVE-2026-40386/CVE-2026-32775
Backport the fixes for these three CVEs from upstream.
--- .../0001-check-maxlen-to-be-at-least-1.patch | 74 +++++++++++++++++++ ...-fixed-2-unsigned-integer-underflows.patch | 46 ++++++++++++ ...n-32bit-system-when-reading-Nikon-Ma.patch | 36 +++++++++ .../recipes-support/libexif/libexif_0.6.25.bb | 3 + 4 files changed, 159 insertions(+) create mode 100644 meta/recipes-support/libexif/libexif/0001-check-maxlen-to-be-at-least-1.patch create mode 100644 meta/recipes-support/libexif/libexif/0002-fixed-2-unsigned-integer-underflows.patch create mode 100644 meta/recipes-support/libexif/libexif/0003-Avoid-overflow-on-32bit-system-when-reading-Nikon-Ma.patch
meta/recipes-support/libexif/libexif/0001-check-maxlen-to-be-at-least-1.patch new file +74 -0
@@ -0,0 +1,74 @@ +From 2d12cc141c4d799cea2b42639645db5142940ff7 Mon Sep 17 00:00:00 2001 +From: Marcus Meissner <[email protected]> +Date: Mon, 9 Mar 2026 10:02:53 +0100 +Subject: [PATCH 1/3] check maxlen to be at least 1 + +maxlen-- on 0 will become a high value. + +(likely found by AI) + +Fixes https://github.com/libexif/libexif/issues/247 + +CVE: CVE-2026-32775 +Upstream-Status: Backport +Signed-off-by: Ross Burton <[email protected]> +--- + libexif/canon/mnote-canon-entry.c | 2 ++ + libexif/fuji/mnote-fuji-entry.c | 1 + + libexif/olympus/mnote-olympus-entry.c | 2 ++ + libexif/pentax/mnote-pentax-entry.c | 1 + + 5 files changed, 8 insertions(+) + +diff --git a/libexif/canon/mnote-canon-entry.c b/libexif/canon/mnote-canon-entry.c +index de0fac4..2849d5b 100644 +--- a/libexif/canon/mnote-canon-entry.c ++++ b/libexif/canon/mnote-canon-entry.c +@@ -561,6 +561,8 @@ mnote_canon_entry_get_value (const MnoteCanonEntry *entry, unsigned int t, char + + if (!entry) + return NULL; ++ if (maxlen < 1) ++ return NULL; + + data = entry->data; + size = entry->size; +diff --git a/libexif/fuji/mnote-fuji-entry.c b/libexif/fuji/mnote-fuji-entry.c +index 47e01ed..5d9f16f 100644 +--- a/libexif/fuji/mnote-fuji-entry.c ++++ b/libexif/fuji/mnote-fuji-entry.c +@@ -201,6 +201,7 @@ mnote_fuji_entry_get_value (MnoteFujiEntry *entry, + int i, j; + + if (!entry) return (NULL); ++ if (maxlen < 1) return NULL; + + memset (val, 0, maxlen); + maxlen--; +diff --git a/libexif/olympus/mnote-olympus-entry.c b/libexif/olympus/mnote-olympus-entry.c +index e5200be..f938d40 100644 +--- a/libexif/olympus/mnote-olympus-entry.c ++++ b/libexif/olympus/mnote-olympus-entry.c +@@ -286,6 +286,8 @@ mnote_olympus_entry_get_value (MnoteOlympusEntry *entry, char *v, unsigned int m + + if (!entry) + return (NULL); ++ if (maxlen < 1) ++ return NULL; + + memset (v, 0, maxlen); + maxlen--; +diff --git a/libexif/pentax/mnote-pentax-entry.c b/libexif/pentax/mnote-pentax-entry.c +index 46900c3..0a6f87a 100644 +--- a/libexif/pentax/mnote-pentax-entry.c ++++ b/libexif/pentax/mnote-pentax-entry.c +@@ -317,6 +317,7 @@ mnote_pentax_entry_get_value (MnotePentaxEntry *entry, + int i = 0, j = 0; + + if (!entry) return (NULL); ++ if (maxlen < 1) return (NULL); + + memset (val, 0, maxlen); + maxlen--; +-- +2.43.0 +
meta/recipes-support/libexif/libexif/0002-fixed-2-unsigned-integer-underflows.patch new file +46 -0
46 lines not on this page · raw message
meta/recipes-support/libexif/libexif/0003-Avoid-overflow-on-32bit-system-when-reading-Nikon-Ma.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 62f657ab2b01ede7ab85adbdec333c81176518e9 Mon Sep 17 00:00:00 2001 +From: Marcus Meissner <[email protected]> +Date: Fri, 3 Apr 2026 11:18:47 +0200 +Subject: [PATCH 3/3] Avoid overflow on 32bit system when reading Nikon + MakerNotes + +The addition o2 = datao + exif_get_long(buf + o2, n->order) +could have overflowed on systems with 32bit unsigned int size_t. + +This could have caused out of bound reads of data, leading to +misparsing of exif / crashes. + +Reported-By: Kerwin <[email protected]> + +CVE: CVE-2026-40385 +Upstream-Status: Backport +Signed-off-by: Ross Burton <[email protected]> +--- + libexif/olympus/exif-mnote-data-olympus.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libexif/olympus/exif-mnote-data-olympus.c b/libexif/olympus/exif-mnote-data-olympus.c +index 428f365..37f08ff 100644 +--- a/libexif/olympus/exif-mnote-data-olympus.c ++++ b/libexif/olympus/exif-mnote-data-olympus.c +@@ -386,6 +386,7 @@ exif_mnote_data_olympus_load (ExifMnoteData *en, + o2 += 2; + + /* Go to where the number of entries is. */ ++ if (CHECKOVERFLOW(o2,buf_size,exif_get_long (buf + o2, n->order))) return; + o2 = datao + exif_get_long (buf + o2, n->order); + break; + +-- +2.43.0 +
meta/recipes-support/libexif/libexif_0.6.25.bb +3 -0
@@ -9,6 +9,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad" SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libexif-${PV}.tar.bz2 \ file://0001-Add-serial-tests-config-needed-by-ptest.patch \ + file://0001-check-maxlen-to-be-at-least-1.patch \ + file://0002-fixed-2-unsigned-integer-underflows.patch \ + file://0003-Avoid-overflow-on-32bit-system-when-reading-Nikon-Ma.patch \ file://run-ptest \ "
Signature · 1 line
2.43.0
Re: [OE-core] [PATCH 4/6] libexif: backport fixes for CVE-2026-40385/CVE-2026-40386/CVE-2026-32775
Quoted 2 lines · Peter
I have sent upgrade instead of patches.
I considered that but we’re past M3 now and there’s more than security fixes in the upgrade. Something to discuss in the review call!
Ross
PATCH 5/6 perl: link to the system zlib instead of a vendored copy
In reply to Ross BurtonThe perl module Compress-Raw-Zlib defaults to using a vendored copy of the zlib sources which has a number of CVEs. A newer version of perl updates this to zlib 1.3.2 to resolve them, but we should be linking to our zlib recipe instead of the vendored code.
This mitigates CVE-2026-4176 so mark it as not appropriate.
--- meta/recipes-devtools/perl/perl_5.42.0.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta/recipes-devtools/perl/perl_5.42.0.bb +5 -0
@@ -59,6 +59,11 @@ CFLAGS:append:toolchain-clang = " -fno-strict-aliasing" # Needed with -march=x86-64-v3 CFLAGS:append:toolchain-gcc:class-target:x86-64 = " -fno-builtin-memcpy -D__NO_STRING_INLINES -U_FORTIFY_SOURCE" +# Link Compress-Raw-Zlib to the system zlib instead of a vendored copy +EXTRA_OEMAKE += "BUILD_ZLIB=False ZLIB_INCLUDE=${STAGING_INCDIR} ZLIB_LIB=${STAGING_LIBDIR}" + +CVE_STATUS[CVE-2026-4176] = "not-applicable-config: we do not use the vendorered zlib" + do_configure:prepend() { rm -rf ${B} cp -rfp ${S} ${B}
Signature · 1 line
2.43.0
PATCH 6/6 perl: link to the system bzip2 instead of a vendored copy
In reply to Ross BurtonThe perl module Compress-Raw-Bzip2 defaults to using a vendored copy of the bzip2 sources. We should be building perl against the system bzip2 recipe to avoid potential security issues.
This is a little fiddly in the DEPENDS as bzip2-native is assume-provided so we need to depend on bzip2-replacement-native for the native build.
--- meta/recipes-devtools/perl/perl_5.42.0.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
meta/recipes-devtools/perl/perl_5.42.0.bb +6 -2
@@ -30,7 +30,9 @@ B = "${WORKDIR}/perl-${PV}-build" inherit upstream-version-is-even update-alternatives -DEPENDS += "perlcross-native zlib virtual/crypt" +DEPENDS += "perlcross-native bzip2 zlib virtual/crypt" +DEPENDS:append:class-native = " bzip2-replacement-native" + # make 4.1 has race issues with the double-colon usage of MakeMaker, see #14096 DEPENDS += "make-native"
@@ -59,8 +61,10 @@ CFLAGS:append:toolchain-clang = " -fno-strict-aliasing" # Needed with -march=x86-64-v3 CFLAGS:append:toolchain-gcc:class-target:x86-64 = " -fno-builtin-memcpy -D__NO_STRING_INLINES -U_FORTIFY_SOURCE" -# Link Compress-Raw-Zlib to the system zlib instead of a vendored copy +# Link Compress-Raw-Zlib to the system libraries instead of a vendored copy EXTRA_OEMAKE += "BUILD_ZLIB=False ZLIB_INCLUDE=${STAGING_INCDIR} ZLIB_LIB=${STAGING_LIBDIR}" +# Link Compress-Raw-Bzip2 to the system libraries instead of a vendored copy +EXTRA_OEMAKE += "BUILD_BZIP2=False BZIP2_INCLUDE=${STAGING_INCDIR} BZIP2_LIB=${STAGING_LIBDIR}" CVE_STATUS[CVE-2026-4176] = "not-applicable-config: we do not use the vendorered zlib"
Signature · 1 line
2.43.0