13 lines
459 B
Plaintext
13 lines
459 B
Plaintext
$OpenBSD: patch-fsdiff_c,v 1.4 2007/09/04 20:52:13 jasper Exp $
|
|
--- fsdiff.c.orig Sat May 6 18:13:18 2006
|
|
+++ fsdiff.c Wed Jul 18 09:41:16 2007
|
|
@@ -111,7 +111,7 @@ fs_walk( char *path, struct stat *st, char *type, stru
|
|
char type0;
|
|
struct applefileinfo afinfo0;
|
|
|
|
- strcpy( temp, tran->t_pinfo.pi_name );
|
|
+ (void)strlcpy( temp, tran->t_pinfo.pi_name, sizeof( temp ) );
|
|
switch ( radstat( temp, &st0, &type0, &afinfo0 )) {
|
|
case 0:
|
|
break;
|