Skip to content
Snippets Groups Projects
Commit 1e1f08de authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

strcpy -> SAFECOPY

CID 33568
parent 94dbc396
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -505,7 +505,7 @@ size_t sbbs_t::gettmplt(char *strout, const char *templt, long mode)
}
c=0;
if(mode&K_EDIT) {
strcpy(str,strout);
SAFECOPY(str,strout);
bputs(str);
c=strlen(str);
}
......@@ -544,7 +544,7 @@ size_t sbbs_t::gettmplt(char *strout, const char *templt, long mode)
attr(LIGHTGRAY);
CRLF;
if(!(sys_status&SS_ABORT))
strcpy(strout,str);
SAFECOPY(strout,str);
return(c);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment