]> git.pld-linux.org Git - packages/detox.git/blame - format-security.patch
- fix format string errors
[packages/detox.git] / format-security.patch
CommitLineData
ff6d6680
JR
1--- detox-1.2.0/parse_options_getopt.c~ 2006-07-03 18:45:54.000000000 +0200
2+++ detox-1.2.0/parse_options_getopt.c 2015-09-24 23:02:33.218616787 +0200
3@@ -98,9 +98,9 @@
4 #endif
5 switch (optcode) {
6 case 'h':
7- printf(usage_message);
8+ printf("%s", usage_message);
9 printf("\n");
10- printf(help_message);
11+ printf("%s", help_message);
12 exit(EXIT_SUCCESS);
13
14 case 'f':
15@@ -138,7 +138,7 @@
16 exit(EXIT_SUCCESS);
17
18 case '?':
19- printf(usage_message);
20+ printf("%s", usage_message);
21 exit(EXIT_SUCCESS);
22
23 case 0:
24@@ -195,7 +195,7 @@
25 }
26 else {
27 #ifndef INLINE_MODE
28- printf(usage_message);
29+ printf("%s", usage_message);
30 exit(EXIT_FAILURE);
31 #endif
32 }
This page took 0.068736 seconds and 4 git commands to generate.