Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > fc0005df36c2e8b5046000399f118aea > files > 3

a2ps-4.14-12.mga3.src.rpm

--- lib/psgen.c.str	2009-04-07 08:28:14.000000000 +0200
+++ lib/psgen.c	2009-04-07 08:28:27.000000000 +0200
@@ -232,7 +232,7 @@
     default:
       *buf = '\0';
       ps_escape_char (job, cp[i], buf);
-      output (jdiv, (char *) buf);
+      output (jdiv, "%s", (char *) buf);
       break;
     }
   }
--- lib/output.c.str	2009-04-07 08:27:45.000000000 +0200
+++ lib/output.c	2009-04-07 08:27:58.000000000 +0200
@@ -525,7 +525,7 @@
 		     expand_user_string (job, FIRST_FILE (job),
 					 (const uchar *) "Expand: requirement",
 					 (const uchar *) token));
-	output (dest, expansion);
+	output (dest, "%s", expansion);
 	continue;
       }
 
--- lib/parseppd.y.str	2009-04-07 08:29:25.000000000 +0200
+++ lib/parseppd.y	2009-04-07 08:29:39.000000000 +0200
@@ -154,7 +154,7 @@
 void
 yyerror (const char *msg)
 {
-  error_at_line (1, 0, ppdfilename, ppdlineno, msg);
+  error_at_line (1, 0, ppdfilename, ppdlineno, "%s", msg);
 }
 
 /*
--- src/parsessh.y.str	2009-04-07 08:31:27.000000000 +0200
+++ src/parsessh.y	2009-04-07 08:31:39.000000000 +0200
@@ -740,7 +740,7 @@
 void
 yyerror (const char *msg)
 {
-  error_at_line (1, 0, sshfilename, sshlineno, msg);
+  error_at_line (1, 0, sshfilename, sshlineno, "%s", msg);
 }
 
 /*