File toppler-1.1.5-format-security.patch of Package toppler
--- decl.cc-orig 2014-06-11 01:58:55.855977308 -0300
+++ decl.cc 2014-06-11 02:04:02.191371288 -0300
@@ -164,7 +164,7 @@
#ifndef WIN32
// look into actual directory
if (dcl_fileexists(name)) {
- snprintf(f, len, name);
+ snprintf(f, len, "%s", name);
return true;
}
@@ -183,7 +183,7 @@
#else
if (dcl_fileexists(name)) {
- snprintf(f, len, name);
+ snprintf(f, len, "%s", name);
return true;
}