673ecfb881
by Rui Reis <rui@rui.cx>. more exist for sure...
13 lines
411 B
Plaintext
13 lines
411 B
Plaintext
$OpenBSD: patch-parse_c,v 1.1 2006/04/07 23:14:13 pvalchev Exp $
|
|
--- parse.c.orig Tue Jul 16 09:54:43 1991
|
|
+++ parse.c Fri Apr 7 01:37:24 2006
|
|
@@ -39,7 +39,7 @@ char *fname;
|
|
char *namep; /* points to relevant part of tempname */
|
|
|
|
char *p;
|
|
- strcpy (tempname, fname);
|
|
+ strlcpy(tempname, fname, LFNAMESIZE);
|
|
|
|
#ifdef DEBUG
|
|
printf ("parse: supplied name is [%s].\n", tempname);
|