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

Use SAFECAT() instead of strcat() for more safety.

parent dce01b50
No related branches found
No related tags found
No related merge requests found
......@@ -2292,7 +2292,7 @@ int unpack(const char *infile, const char* outdir)
break;
}
sprintf(tmp,"%02X",ch);
strcat(str,tmp);
SAFECAT(str,tmp);
}
if(!stricmp(str,cfg.arcdef[u].hexid))
break;
......
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