$OpenBSD: patch-progress_c,v 1.2 2007/04/01 07:08:39 steven Exp $
--- progress.c.orig	Fri Oct  1 17:20:04 2004
+++ progress.c	Sun Apr  1 08:18:32 2007
@@ -39,7 +39,7 @@ loadsetsize( FILE *tran )
 
     while ( fgets( tline, LINE_MAX, tran ) != NULL ) {
 	linenum++;
-	strcpy( line, tline );
+	(void)strlcpy( line, tline, sizeof( line ) );
 	if (( tac = argcargv( tline, &targv )) == 0 ) {
 	    continue;
 	}
@@ -72,7 +72,7 @@ applyloadsetsize( FILE *tran )
 
     while ( fgets( tline, LINE_MAX, tran ) != NULL ) {
 	linenum++;
-	strcpy( line, tline );
+	(void)strlcpy( line, tline, sizeof( line ) );
 	/* skip empty lines and transcript marker lines */
 	if (( tac = argcargv( tline, &targv )) <= 1 ) {
 	    continue;
@@ -113,7 +113,7 @@ lcksum_loadsetsize( FILE *tran, char *prefix )
 
     while ( fgets( tline, LINE_MAX, tran ) != NULL ) {
 	linenum++;
-	strcpy( line, tline );
+	(void)strlcpy( line, tline, sizeof( line ) );
 	if (( tac = argcargv( tline, &targv )) <= 1 ) {
 	    continue;
 	}
