You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-arch/zoo/files/zoo-2.10-febz-183426.patch

17 lines
396 B

Taken from Fedora
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=183426
http://bugs.gentoo.org/125622
--- zoo/parse.c
+++ zoo/parse.c
@@ -39,7 +39,7 @@
char *namep; /* points to relevant part of tempname */
char *p;
- strcpy (tempname, fname);
+ strncpy(tempname, fname, LFNAMESIZE);
#ifdef DEBUG
printf ("parse: supplied name is [%s].\n", tempname);