$OpenBSD: patch-src_modules_c,v 1.3 2004/10/01 21:22:15 sturm Exp $
--- src/modules.c.orig	Mon Aug 16 18:52:40 2004
+++ src/modules.c	Fri Oct  1 23:14:49 2004
@@ -73,7 +73,7 @@ else
    }
 
 AddSlash(ebuff);
-strcat(ebuff,actiontxt);
+(void)strlcat(ebuff,actiontxt,sizeof(ebuff));
  
 if (stat(ebuff,&statbuf) == -1)
    {
@@ -92,7 +92,7 @@ if ((statbuf.st_uid != 0) && (statbuf.st
 snprintf(OUTPUT,CF_BUFSIZE*2,"Plug-in `%s\'",actiontxt);
 Banner(OUTPUT);
 
-strcat(ebuff," ");
+(void)strlcat(ebuff," ",sizeof(ebuff));
 
 if (BufferOverflow(ebuff,args))
    {
@@ -101,7 +101,7 @@ if (BufferOverflow(ebuff,args))
    return false;
    }
 
-strcat(ebuff,args); 
+(void)strlcat(ebuff,args,sizeof(ebuff)); 
 ExpandVarstring(ebuff,command,NULL); 
  
 Verbose("Exec module [%s]\n",command); 
