File: 020_fix-string.patch

package info (click to toggle)
mailto 1.3.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 280 kB
  • sloc: ansic: 2,448; makefile: 56; perl: 20
file content (20 lines) | stat: -rw-r--r-- 570 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: fix string with no format arguments
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2023-06-19
Index: mailto/mailto.c
===================================================================
--- mailto.orig/mailto.c
+++ mailto/mailto.c
@@ -581,10 +581,10 @@ int main(int argc, char *argv[])
 			debug++;
 			break;
 		case 'v':
-			(void)fprintf(stderr,header);
+			(void)fprintf(stderr, "%s", header);
 			exit(0);
 		case 'h':
-			(void)fprintf(stderr,header);
+			(void)fprintf(stderr, "%s", header);
 		case '?':
 			usage(argv[0]);
 		}