Blob Blame History Raw
Fix for format string flaw (CVE-2006-6772)

--- w3m-0.5.1/file.c.orig	2007-01-03 20:42:05.000000000 +0100
+++ w3m-0.5.1/file.c	2007-01-03 20:44:11.000000000 +0100
@@ -7935,7 +7935,7 @@ inputAnswer(char *prompt)
 	ans = inputChar(prompt);
     }
     else {
-	printf(prompt);
+	printf("%s", prompt);
 	fflush(stdout);
 	ans = Strfgets(stdin)->ptr;
     }