summarylogtreecommitdiffstats
path: root/format-security.patch
blob: ba90a4519502e4be41f1703f96b0f2a5548b14cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- aiksaurus-1.2.1/base/caiksaurus.cpp.orig	2014-06-07 21:14:03.869649696 +0100
+++ aiksaurus-1.2.1/base/caiksaurus.cpp	2014-06-07 21:33:06.241471066 +0100
@@ -254,7 +254,7 @@
         /* see if we got --version. */
         if ( !strcmp(arg, "--version") || !strcmp(arg, "-v") )
         {
-            printf(version);
+            printf("%s", version);
             exit(0);
         }
 
@@ -262,7 +262,7 @@
         else if ( !strcmp(arg, "--help") || !strcmp(arg, "-h") )
         {
             printf("Usage: %s [word]\n\n", argv[0]);
-            printf(help);
+            printf("%s", help);
             exit(0);
         }   
     }
@@ -271,7 +271,7 @@
     if (argc != 2)
     {
         printf("Usage: %s [word]\n", argv[0]);
-        printf(help);
+        printf("%s", help);
         exit(1);
     }
 }