From ec2624bd575f16341d52a41c5caa706c137c4023 Mon Sep 17 00:00:00 2001 From: kris Date: Fri, 7 Jun 2002 00:28:08 +0000 Subject: Fix a couple of non-exploitable format string bugs --- security/bcwipe/files/patch-aa | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 security/bcwipe/files/patch-aa (limited to 'security/bcwipe') diff --git a/security/bcwipe/files/patch-aa b/security/bcwipe/files/patch-aa new file mode 100644 index 0000000..5130be3 --- /dev/null +++ b/security/bcwipe/files/patch-aa @@ -0,0 +1,29 @@ +--- wipe.c.orig Thu Jun 6 17:25:28 2002 ++++ wipe.c Thu Jun 6 17:26:36 2002 +@@ -66,7 +66,7 @@ + int ask_y_n(char *string) + { + char c; +- fprintf(stderr,string); ++ fprintf(stderr,"%s",string); + c = tolower(fgetc(stdin)); + if ( '\n' == c ) return FALSE; + while ( '\n' != fgetc(stdin) ); +@@ -675,7 +675,7 @@ + case '?': + case 'h': + default: +- fprintf(stdout,usage_string); ++ fprintf(stdout,"%s",usage_string); + exit(0); + } /* end of switch */ + } /* end of while */ +@@ -685,7 +685,7 @@ + + if ( 0 == argc ) + { +- fprintf(stdout,usage_string); ++ fprintf(stdout,"%s",usage_string); + exit(0); + } + if ( o_force ) o_interactive=FALSE; -- cgit v1.1