Skip to contentSkip to conversation

meta:recipes-devtools: makedevs: fix security issues

PATCH New Edwin Plauchu 1 participant 1 message May 17, 2016

lore
Share & tools
lore
#0 lore raw

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]

---
 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
index 7a91cec..dc210a0 100644
@@ -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
index 92d5870..41b8bec 100644
@@ -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