mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
ez-ipupdate: Fix formatting security warnings
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
@@ -8,6 +8,7 @@ SRC_URI = "http://sourceforge.net/projects/ez-ipupdate/files/${BPN}/${PV}/${BPN}
|
|||||||
file://Makefile.am.patch \
|
file://Makefile.am.patch \
|
||||||
file://cache_file.c.patch \
|
file://cache_file.c.patch \
|
||||||
file://conf_file.c.patch \
|
file://conf_file.c.patch \
|
||||||
|
file://wformat.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[md5sum] = "525be4550b4461fdf105aed8e753b020"
|
SRC_URI[md5sum] = "525be4550b4461fdf105aed8e753b020"
|
||||||
SRC_URI[sha256sum] = "a15ec0dc0b78ec7578360987c68e43a67bc8d3591cbf528a323588830ae22c20"
|
SRC_URI[sha256sum] = "a15ec0dc0b78ec7578360987c68e43a67bc8d3591cbf528a323588830ae22c20"
|
||||||
|
|||||||
@@ -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
|
||||||
|
{
|
||||||
Reference in New Issue
Block a user