Package: jumpnbump / 1.51+dfsg1-2

format-security.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Subject: Fix format-security vulnerability
Author: Fabian Greffrath <fabian+debian@greffrath.com>

--- a/main.c
+++ b/main.c
@@ -3400,7 +3400,7 @@ void deinit_program(void)
 #endif
 
 	if (main_info.error_str[0] != 0) {
-		printf(main_info.error_str);
+		printf("%s", main_info.error_str);
 #ifdef _MSC_VER
 		MessageBox(0, main_info.error_str, "Jump'n'Bump", 0);
 #endif