LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File ez-ipupdate-format-string-vuln.patch of Package ez-ipupdate (Project openSUSE:Factory)

diff -ur ez-ipupdate-3.0.11b8.orig/ez-ipupdate.c ez-ipupdate-3.0.11b8/ez-ipupdate.c
--- ez-ipupdate-3.0.11b8.orig/ez-ipupdate.c	2002-03-12 00:31:47.000000000 +0100
+++ ez-ipupdate-3.0.11b8/ez-ipupdate.c	2004-11-02 18:03:02.690856993 +0100
@@ -798,7 +798,7 @@
     sprintf(buf, "message incomplete because your OS sucks: %s\n", fmt);
 #endif
 
-    syslog(LOG_NOTICE, buf);
+    syslog(LOG_NOTICE, "%s", buf);
   }
   else
   {