Drop CVE-2026-22185.patch as it was merged upstream Signed-off-by: Liu Yiding <[email protected]> --- .../lmdb/files/CVE-2026-22185.patch | 31 ------------------- .../lmdb/{lmdb_0.9.31.bb => lmdb_0.9.35.bb} | 5 ++- 2 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 meta-oe/recipes-dbs/lmdb/files/CVE-2026-22185.patch rename meta-oe/recipes-dbs/lmdb/{lmdb_0.9.31.bb => lmdb_0.9.35.bb} (91%)
diff --git a/meta-oe/recipes-dbs/lmdb/files/CVE-2026-22185.patch b/meta-oe/recipes-dbs/lmdb/files/CVE-2026-22185.patch deleted file mode 100644 index 6c85b2b8ed..0000000000 --- a/meta-oe/recipes-dbs/lmdb/files/CVE-2026-22185.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 94ca20e5aed5d8730e045bb945fa3485b28a7981 Mon Sep 17 00:00:00 2001 -From: Gyorgy Sarvari <[email protected]> -Date: Tue, 6 Jan 2026 20:52:25 +0000 -Subject: [PATCH] ITS#10421 mdb_load: check for malicious input - -From: Howard Chu <[email protected]> - -CVE: CVE-2026-22185 -Upstream-Status: Backport [https://github.com/LMDB/lmdb/commit/8e1fda85532a3c74276df38a42d234dcdfa1e40d] -Signed-off-by: Gyorgy Sarvari <[email protected]> ---- - libraries/liblmdb/mdb_load.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/libraries/liblmdb/mdb_load.c b/libraries/liblmdb/mdb_load.c -index d2a3cec..7eccf40 100644 ---- a/libraries/liblmdb/mdb_load.c -+++ b/libraries/liblmdb/mdb_load.c -@@ -208,6 +208,12 @@ badend: - - c1 = buf->mv_data; - len = strlen((char *)c1); -+ if (!len) { -+ /* This can only happen with an intentionally invalid input -+ * with a NUL byte after the leading SPACE -+ */ -+ goto badend; -+ } - l2 = len; - - /* Is buffer too short? */ diff --git a/meta-oe/recipes-dbs/lmdb/lmdb_0.9.31.bb b/meta-oe/recipes-dbs/lmdb/lmdb_0.9.35.bb similarity index 91% rename from meta-oe/recipes-dbs/lmdb/lmdb_0.9.31.bb rename to meta-oe/recipes-dbs/lmdb/lmdb_0.9.35.bb index 29bfbb81fa..36f2056914 100644 --- a/meta-oe/recipes-dbs/lmdb/lmdb_0.9.31.bb +++ b/meta-oe/recipes-dbs/lmdb/lmdb_0.9.35.bb @@ -8,14 +8,13 @@ HOMEPAGE = "https://symas.com/lightning-memory-mapped-database/" LICENSE = "OLDAP-2.8" LIC_FILES_CHKSUM = "file://LICENSE;md5=153d07ef052c4a37a8fac23bc6031972" -SRC_URI = "git://github.com/LMDB/lmdb.git;nobranch=1;protocol=https \ +SRC_URI = "git://github.com/LMDB/lmdb.git;nobranch=1;protocol=https;tag=LMDB_${PV} \ file://run-ptest \ file://0001-Makefile-use-libprefix-instead-of-libdir.patch \ file://0001-make-set-soname-on-liblmdb.patch;patchdir=../.. \ - file://CVE-2026-22185.patch;striplevel=3 \ " -SRCREV = "ce201088de95d26fc0da36ba805bf2ddc2ba74ff" +SRCREV = "69087ced3cb6082f7dcfb4fc2dcaa3b68a7e2e8c" inherit ptest -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#124318): https://lists.openembedded.org/g/openembedded-devel/message/124318 Mute This Topic: https://lists.openembedded.org/mt/117734969/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
