summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2016-05-13 14:49:26 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-15 09:06:00 +0100
commit65238546b7c069540b64903d5c3afbaa332bfbff (patch)
treeed01859a4e6a7591d8f661eefe11363db7008253 /meta/recipes-extended
parenteecba7171dc18fd1015d29a4de0c5a6669bf1d70 (diff)
downloadpoky-65238546b7c069540b64903d5c3afbaa332bfbff.tar.gz
libuser: Fix security string formatting issues.
[YOCTO #9547] (From OE-Core rev: c3f5a05f8d482608be964d200938ae3ed745fe09) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/libuser/libuser/0001-modules-files.c-parse_field-fix-string-formating-in-.patch34
-rw-r--r--meta/recipes-extended/libuser/libuser_0.62.bb3
2 files changed, 36 insertions, 1 deletions
diff --git a/meta/recipes-extended/libuser/libuser/0001-modules-files.c-parse_field-fix-string-formating-in-.patch b/meta/recipes-extended/libuser/libuser/0001-modules-files.c-parse_field-fix-string-formating-in-.patch
new file mode 100644
index 0000000000..074491bcb2
--- /dev/null
+++ b/meta/recipes-extended/libuser/libuser/0001-modules-files.c-parse_field-fix-string-formating-in-.patch
@@ -0,0 +1,34 @@
1From a4857911ece5ebfcdef42aee4c070eb216f39597 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com>
3Date: Fri, 13 May 2016 11:40:13 -0500
4Subject: [PATCH] modules/files.c: parse_field fix string formating in
5 g_warnings
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10[YOCTO #9547]
11
12Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
13
14Upstream-status: Pending
15---
16 modules/files.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/modules/files.c b/modules/files.c
20index 4ef0a57..35eafc9 100644
21--- a/modules/files.c
22+++ b/modules/files.c
23@@ -534,7 +534,7 @@ parse_field(const struct format_specifier *format, GValue *value,
24 string, &err);
25 if (ret == FALSE) {
26 g_assert(err != NULL);
27- g_warning(lu_strerror(err));
28+ g_warning(lu_strerror(err), NULL);
29 lu_error_free(&err);
30 }
31 return ret;
32--
332.1.4
34
diff --git a/meta/recipes-extended/libuser/libuser_0.62.bb b/meta/recipes-extended/libuser/libuser_0.62.bb
index 1369ae8f2d..7a64efe558 100644
--- a/meta/recipes-extended/libuser/libuser_0.62.bb
+++ b/meta/recipes-extended/libuser/libuser_0.62.bb
@@ -14,7 +14,8 @@ SECTION = "base"
14SRC_URI = "https://fedorahosted.org/releases/l/i/libuser/libuser-${PV}.tar.xz \ 14SRC_URI = "https://fedorahosted.org/releases/l/i/libuser/libuser-${PV}.tar.xz \
15 file://0001-Check-for-issetugid.patch \ 15 file://0001-Check-for-issetugid.patch \
16 file://0002-remove-unused-execinfo.h.patch \ 16 file://0002-remove-unused-execinfo.h.patch \
17 " 17 file://0001-modules-files.c-parse_field-fix-string-formating-in-.patch \
18 "
18 19
19SRC_URI[md5sum] = "63e5e5c551e99dc5302b40b80bd6d4f2" 20SRC_URI[md5sum] = "63e5e5c551e99dc5302b40b80bd6d4f2"
20SRC_URI[sha256sum] = "a58ff4fabb01a25043b142185a33eeea961109dd60d4b40b6a9df4fa3cace20b" 21SRC_URI[sha256sum] = "a58ff4fabb01a25043b142185a33eeea961109dd60d4b40b6a9df4fa3cace20b"