Apply by doing cd /usr/src/libexec/uucpd patch -p0 < uucpd.patch And then to rebuild and install make && make install Index: uucpd.c =================================================================== RCS file: /cvs/src/libexec/uucpd/uucpd.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- uucpd.c 1997/08/31 08:24:01 1.11 +++ uucpd.c 1998/04/22 14:19:51 1.12 @@ -42,7 +42,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)uucpd.c 5.10 (Berkeley) 2/26/91";*/ -static char rcsid[] = "$Id: uucpd.c,v 1.11 1997/08/31 08:24:01 deraadt Exp $"; +static char rcsid[] = "$Id: uucpd.c,v 1.12 1998/04/22 14:19:51 deraadt Exp $"; #endif /* not lint */ /* @@ -304,7 +304,8 @@ time(&ll.ll_time); lseek(f, pw->pw_uid * sizeof(struct lastlog), 0); - strcpy(line, remotehost); + strncpy(line, remotehost, sizeof line-1); + line[sizeof line-1] = '\0'; SCPYN(ll.ll_line, line); SCPYN(ll.ll_host, remotehost); (void) write(f, (char *) &ll, sizeof ll);