From c96a3117e09597c097de5c91ad2f56844ec5a9a8 Mon Sep 17 00:00:00 2001 From: Rob Swindell <rob@synchro.net> Date: Sun, 4 Apr 2021 13:49:14 -0700 Subject: [PATCH] strcat -> SAFECAT CID 33625. --- src/sbbs3/telgate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/telgate.cpp b/src/sbbs3/telgate.cpp index 6facfc018f..d214541244 100644 --- a/src/sbbs3/telgate.cpp +++ b/src/sbbs3/telgate.cpp @@ -191,7 +191,7 @@ void sbbs_t::telnet_gate(char* destaddr, ulong mode, char* client_user_name, cha rd=getstr((char*)buf,sizeof(buf)-1,l); if(!rd) continue; - strcat((char*)buf,crlf); + SAFECAT((char*)buf,crlf); rd+=2; gotline=true; } -- GitLab