$NetBSD: patch-ac,v 1.1 1999/12/23 01:44:03 wiz Exp $ --- score.c.orig Mon Feb 24 16:25:44 1997 +++ score.c Wed Dec 22 02:32:19 1999 @@ -53,7 +53,7 @@ int ReadHiscore(PlayerData *p) p->Rec[i].score = score; p->Rec[i].loop = loop; p->Rec[i].stage = stage; - strcpy(p->Rec[i].name,name); + strncpy(p->Rec[i].name,name,sizeof(p->Rec[i].name)); } fclose(fp); }