libmodbus: patch CVE-2024-10918
PATCH 1/1 libmodbus: patch CVE-2024-10918
From: Peter Marko <[email protected]>
Pick commit mentioning the bug and two follow-up commits mentioning the first commit.
Tested by running the test-suite (test starter scripts were copied from scarthgap version which has them working).
Signed-off-by Peter Marko <[email protected]>
--- .../recipes-extended/libmodbus/libmodbus.inc | 7 +- .../libmodbus/CVE-2024-10918-01.patch | 159 ++++++++++++ .../libmodbus/CVE-2024-10918-02.patch | 113 +++++++++ .../libmodbus/CVE-2024-10918-03.patch | 240 ++++++++++++++++++ 4 files changed, 518 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-extended/libmodbus/libmodbus/CVE-2024-10918-01.patch create mode 100644 meta-oe/recipes-extended/libmodbus/libmodbus/CVE-2024-10918-02.patch create mode 100644 meta-oe/recipes-extended/libmodbus/libmodbus/CVE-2024-10918-03.patch
meta-oe/recipes-extended/libmodbus/libmodbus.inc +6 -1
@@ -8,7 +8,12 @@ SECTION = "libs" LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c" -SRC_URI = "http://libmodbus.org/releases/${BP}.tar.gz" +SRC_URI = " \ + http://libmodbus.org/releases/${BP}.tar.gz \ + file://CVE-2024-10918-01.patch \ + file://CVE-2024-10918-02.patch \ + file://CVE-2024-10918-03.patch \ +" PACKAGECONFIG ??= "" PACKAGECONFIG[documentation] = "--with-documentation,--without-documentation,asciidoc-native xmlto-native"
meta-oe/recipes-extended/libmodbus/libmodbus/CVE-2024-10918-01.patch new file +159 -0
159 lines not on this page · raw message
meta-oe/recipes-extended/libmodbus/libmodbus/CVE-2024-10918-02.patch new file +113 -0
113 lines not on this page · raw message
meta-oe/recipes-extended/libmodbus/libmodbus/CVE-2024-10918-03.patch new file +240 -0
240 lines not on this page · raw message