aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/ez-ipupdate/files
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-04-18 11:21:13 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2017-04-25 16:10:15 -0400
commit3f63557cc4b35127ed1540eaa1d4390116f41294 (patch)
tree9f83ef341b581bde26121e7449f275ef6e3c19fa /meta-networking/recipes-connectivity/ez-ipupdate/files
parent752653a10ed4eb5d9b80d9fcc89db9063d85c1cc (diff)
downloadmeta-openembedded-contrib-3f63557cc4b35127ed1540eaa1d4390116f41294.tar.gz
ez-ipupdate: Fix formatting security warnings
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/ez-ipupdate/files')
-rw-r--r--meta-networking/recipes-connectivity/ez-ipupdate/files/wformat.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/ez-ipupdate/files/wformat.patch b/meta-networking/recipes-connectivity/ez-ipupdate/files/wformat.patch
new file mode 100644
index 0000000000..1de267f083
--- /dev/null
+++ b/meta-networking/recipes-connectivity/ez-ipupdate/files/wformat.patch
@@ -0,0 +1,13 @@
+Index: ez-ipupdate-3.0.11b7/ez-ipupdate.c
+===================================================================
+--- ez-ipupdate-3.0.11b7.orig/ez-ipupdate.c
++++ ez-ipupdate-3.0.11b7/ez-ipupdate.c
+@@ -798,7 +798,7 @@ void show_message(char *fmt, ...)
+ sprintf(buf, "message incomplete because your OS sucks: %s\n", fmt);
+ #endif
+
+- syslog(LOG_NOTICE, buf);
++ syslog(LOG_NOTICE, "%s", buf);
+ }
+ else
+ {