$NetBSD: patch-aj,v 1.1 2006/06/10 17:18:48 adrianp Exp $

--- parse.c.orig	1991-07-16 16:54:43.000000000 +0100
+++ parse.c
@@ -39,7 +39,7 @@ char *fname;
    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);