$OpenBSD: patch-src_common_appcmn_cpp,v 1.1.1.1 2004/07/16 21:01:35 todd Exp $
--- src/common/appcmn.cpp.orig	Sat May 10 07:36:53 2003
+++ src/common/appcmn.cpp	Thu Jun 26 11:05:09 2003
@@ -541,12 +541,12 @@ void ShowAssertDialog(const wxChar *szFi
 
     if ( szMsg != NULL )
     {
-        wxStrcat(szBuf, wxT(": "));
-        wxStrcat(szBuf, szMsg);
+        strlcat(szBuf, wxT(": "), sizeof(szBuf));
+        strlcat(szBuf, szMsg, sizeof(szBuf));
     }
     else // no message given
     {
-        wxStrcat(szBuf, wxT("."));
+        strlcat(szBuf, wxT("."), sizeof(szBuf));
     }
 
 #if wxUSE_THREADS
@@ -575,7 +575,7 @@ void ShowAssertDialog(const wxChar *szFi
 #if (wxUSE_GUI && wxUSE_MSGDLG) || defined(__WXMSW__)
         // this message is intentionally not translated - it is for
         // developpers only
-        wxStrcat(szBuf, wxT("\nDo you want to stop the program?\nYou can also choose [Cancel] to suppress further warnings."));
+        strlcat(szBuf, wxT("\nDo you want to stop the program?\nYou can also choose [Cancel] to suppress further warnings."), sizeof(szBuf));
 
         // use the native message box if available: this is more robust than
         // using our own
