$OpenBSD: patch-manage_c,v 1.3 2005/10/21 20:07:05 naddy Exp $
--- manage.c.orig	Mon May  6 06:33:21 2002
+++ manage.c	Thu Oct 20 07:23:02 2005
@@ -17,7 +17,6 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <malloc.h>
 /*
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
@@ -393,7 +392,7 @@ PlayerData *NewPlayerData(void)
 
     New = (PlayerData *)malloc(sizeof(PlayerData));
 
-    sprintf(New->Rec[0].name,name);
+    snprintf(New->Rec[0].name, sizeof(New->Rec[0].name), name);
     New->Rec[0].score = 0;
     New->Rec[0].stage = 0;
     New->Rec[0].loop = 0;
