SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
11
archivers/zoo/patches/patch-parse_c
Normal file
11
archivers/zoo/patches/patch-parse_c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- 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);
|
Loading…
Add table
Add a link
Reference in a new issue