All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 01/18] modemmanager: Fix build with gcc9
@ 2018-12-23 21:35 Khem Raj
  2018-12-23 21:35 ` [meta-oe][PATCH 02/18] breakpad: Update to latest Khem Raj
                   ` (16 more replies)
  0 siblings, 17 replies; 19+ messages in thread
From: Khem Raj @ 2018-12-23 21:35 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...-string-to-s-printf-formatted-string.patch | 31 +++++++++++++++++++
 .../modemmanager/modemmanager_1.8.2.bb        |  1 +
 2 files changed, 32 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/modemmanager/modemmanager/0001-Do-not-pass-null-string-to-s-printf-formatted-string.patch

diff --git a/meta-oe/recipes-connectivity/modemmanager/modemmanager/0001-Do-not-pass-null-string-to-s-printf-formatted-string.patch b/meta-oe/recipes-connectivity/modemmanager/modemmanager/0001-Do-not-pass-null-string-to-s-printf-formatted-string.patch
new file mode 100644
index 0000000000..5fbafbb5dc
--- /dev/null
+++ b/meta-oe/recipes-connectivity/modemmanager/modemmanager/0001-Do-not-pass-null-string-to-s-printf-formatted-string.patch
@@ -0,0 +1,31 @@
+From b8862e6af1c6d022b8c182098e7deddb874ece19 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Tue, 18 Dec 2018 23:10:44 -0800
+Subject: [PATCH] Do not pass null string to %s printf formatted string
+
+Here the string is already decided to be NULL and passing
+a null pointer to %s will not work
+
+Fixes
+error: '%s' directive argument is null
+
+Upstream-Status: Submitted [https://gitlab.freedesktop.org/mobile-broadband/ModemManager/merge_requests/67]
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ plugins/mtk/mm-broadband-modem-mtk.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/plugins/mtk/mm-broadband-modem-mtk.c b/plugins/mtk/mm-broadband-modem-mtk.c
+index 475a63ac..541de4a5 100644
+--- a/plugins/mtk/mm-broadband-modem-mtk.c
++++ b/plugins/mtk/mm-broadband-modem-mtk.c
+@@ -191,7 +191,7 @@ get_supported_modes_ready (MMBaseModem *self,
+ 
+     response = mm_base_modem_at_command_finish (MM_BASE_MODEM (self), res, &error);
+     if (!response) {
+-        mm_dbg ("Fail to get response %s", response);
++        mm_dbg ("Fail to get response");
+         g_task_return_error (task, error);
+         g_object_unref (task);
+         return;
diff --git a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.8.2.bb b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.8.2.bb
index e198bd588e..f8e074a87f 100644
--- a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.8.2.bb
+++ b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.8.2.bb
@@ -13,6 +13,7 @@ DEPENDS = "glib-2.0 libgudev dbus-glib intltool-native"
 
 SRC_URI = "http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz \
            file://0001-Do-not-set-Wno-unused-but-set-variable.patch \
+           file://0001-Do-not-pass-null-string-to-s-printf-formatted-string.patch \
            "
 
 SRC_URI[md5sum] = "a49c9f73e46c7b89e5efedda250d22c0"
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2018-12-23 21:52 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-23 21:35 [meta-oe][PATCH 01/18] modemmanager: Fix build with gcc9 Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 02/18] breakpad: Update to latest Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 03/18] ltrace: Fix a NULL string use Khem Raj
2018-12-23 21:35 ` [meta-networking][PATCH 04/18] opensaf: Upgrade to 5.18.09 Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 05/18] libgpiod: Rrecommend python3 only for PN-python package Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 06/18] srecord: GPL-3.0 and LGPL-3.0 is correct license Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 07/18] ttf-droid: Delete from staging install area instead of sources Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 08/18] lio-utils: Switch SRC_URI to use datera mirror on github Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 09/18] breakpad: Fix build with gcc9 on x86 Khem Raj
2018-12-23 21:35 ` [meta-networking][PATCH 10/18] miniupnpd: Fix cross compile on OE Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 11/18] open-vm-tools: Upgrade to 10.3.5 Khem Raj
2018-12-23 21:35 ` [meta-multimedia][PATCH 12/18] tvheadend: Add dependency on dvb-apps Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 13/18] mozjs: Remove -Werror=format from CXXFLAGS Khem Raj
2018-12-23 21:35 ` [meta-python][PATCH 14/18] python-msgpack: Upgrade to 0.6.0 Khem Raj
2018-12-23 21:35 ` [meta-python][PATCH 15/18] python-grpcio: Upgrade to 1.17.1 Khem Raj
2018-12-23 21:35 ` [meta-python][PATCH 16/18] python-pyflame: Upgrade to 1.6.7 Khem Raj
2018-12-23 21:45   ` Andrew Jeffery
2018-12-23 21:35 ` [meta-oe][PATCH 17/18] redis: Update to 4.0.12 Khem Raj
2018-12-23 21:35 ` [meta-oe][PATCH 18/18] android-tools: Disable for powerpc/powerpc64 Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.