$OpenBSD: patch-src_2Dlist_c,v 1.1 2004/06/17 11:21:42 sturm Exp $
--- src/2Dlist.c.orig	2004-06-10 23:26:23.000000000 -0400
+++ src/2Dlist.c	2004-06-10 22:54:37.000000000 -0400
@@ -76,11 +76,11 @@ memset(entry,0,CF_BUFSIZE);
 
 for (tp = list; tp != NULL; tp=tp->next)
    {
-   sprintf(seps,"%c",tp->sep);
+   (void)snprintf(seps,sizeof(seps),"%c",tp->sep);
 
    if (tp->current != NULL)
       {
-      strcat(entry,(tp->current)->name);
+      (void)strlcat(entry,(tp->current)->name,CF_BUFSIZE);
       }
    }
 
