$OpenBSD: patch-src_modules_c,v 1.2 2004/08/08 14:02:11 sturm Exp $
--- src/modules.c.orig	Tue May 11 10:01:21 2004
+++ src/modules.c	Mon Aug  2 13:30:35 2004
@@ -67,7 +67,7 @@ else
    }
 
 AddSlash(ebuff);
-strcat(ebuff,actiontxt);
+(void)strlcat(ebuff,actiontxt,sizeof(ebuff));
  
 if (stat(ebuff,&statbuf) == -1)
    {
@@ -86,7 +86,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))
    {
@@ -95,7 +95,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); 
