meta:recipes-devtools: makedevs: fix security issues
PATCH v2 1/1 meta:recipes-devtools: makedevs: fix security issues
From: Edwin Plauchu <[email protected]>
This patch avoids makedevs fails to compile with compiler flags which elevate common string formatting issues into an error (-Wformat -Wformat-security -Werror=format-security).
[YOCTO #9549]
Signed-off-by Edwin Plauchu <[email protected]>
--- meta/conf/distro/include/security_flags.inc | 1 - .../makedevs/makedevs/fix-security-format.patch | 63 ++++++++++++++++++++++ meta/recipes-devtools/makedevs/makedevs_1.0.1.bb | 1 + 3 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch
meta/conf/distro/include/security_flags.inc +0 -1
@@ -103,7 +103,6 @@ SECURITY_STRINGFORMAT_pn-expect = "" SECURITY_STRINGFORMAT_pn-gcc = "" SECURITY_STRINGFORMAT_pn-gettext = "" SECURITY_STRINGFORMAT_pn-kexec-tools = "" -SECURITY_STRINGFORMAT_pn-makedevs = "" SECURITY_STRINGFORMAT_pn-oh-puzzles = "" SECURITY_STRINGFORMAT_pn-stat = "" SECURITY_STRINGFORMAT_pn-unzip = ""
meta/recipes-devtools/makedevs/makedevs/fix-security-format.patch new file +63 -0
63 lines not on this page · raw message
meta/recipes-devtools/makedevs/makedevs_1.0.1.bb +1 -0
@@ -3,6 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" SECTION = "base" SRC_URI = "file://makedevs.c \ + file://fix-security-format.patch \ file://COPYING.patch" S = "${WORKDIR}"
Signature · 1 line
1.9.1