head	1.3;
access;
symbols
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2003.07.29.06.03.54;	author daichi;	state dead;
branches;
next	1.2;

1.2
date	2002.11.19.13.00.38;	author ijliao;	state Exp;
branches;
next	1.1;

1.1
date	2002.06.07.00.28.08;	author kris;	state Exp;
branches;
next	;


desc
@@


1.3
log
@update security/bcwipe: 1.2.1 -> 1.2.3

PR:		50170
Submitted by:	Foldi Tamas <crow@@nektor.hu> (maintainer)
@
text
@--- wipe.c	Fri Nov  8 11:21:30 2002
+++ wipe.c	Fri Nov  8 11:15:03 2002
@@@@ -28,7 +28,6 @@@@
 #include <utime.h>
 #include <stdlib.h>
 #include <sys/ioctl.h>
-#include <sys/vfs.h>
 #include <time.h>
 #include <ctype.h>
 #include <sys/mount.h>
@@@@ -68,7 +67,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) );
@@@@ -700,7 +699,7 @@@@
             case '?':
             case 'h':
             default:
-                fprintf(stdout,usage_string);
+                fprintf(stdout,"%s",usage_string);
                 exit(0);
         } /* end of switch */
     } /* end of while */
@@@@ -710,7 +709,7 @@@@
 
     if ( 0 == argc )
     {
-        fprintf(stdout,usage_string);
+        fprintf(stdout,"%s",usage_string);
         exit(0);
     }
     if ( o_force ) o_interactive=FALSE;
@


1.2
log
@upgrade to 1.2.1

PR:		45262
Submitted by:	maintainer
@
text
@@


1.1
log
@Fix a couple of non-exploitable format string bugs
@
text
@d1 11
a11 3
--- wipe.c.orig	Thu Jun  6 17:25:28 2002
+++ wipe.c	Thu Jun  6 17:26:36 2002
@@@@ -66,7 +66,7 @@@@
d20 1
a20 1
@@@@ -675,7 +675,7 @@@@
d29 1
a29 1
@@@@ -685,7 +685,7 @@@@
@

