$OpenBSD: patch-src_PLFunctions_c,v 1.1.1.1 2001/01/09 21:01:14 naddy Exp $
--- src/PLFunctions.c.orig	Mon Jun 14 09:28:19 1999
+++ src/PLFunctions.c	Tue Jan  9 21:43:40 2001
@@ -178,7 +178,7 @@ SetIntegerForKey(int value, char *defaul
     proplist_t object;
     char buffer[128];
 
-    sprintf(buffer, "%i", value);
+    snprintf(buffer, sizeof(buffer), "%i", value);
     object = PLMakeString(buffer);
  
     SetObjectForKey(object, defaultName);
