Skip to content
Snippets Groups Projects
Commit b47d6667 authored by deuce's avatar deuce
Browse files

strcpy() not strcat()

parent 0873c28b
No related branches found
No related tags found
No related merge requests found
......@@ -2158,7 +2158,7 @@ int main(int argc, char **argv)
p=strrchr(newname, '.');
if(p==NULL)
p=strchr(newname,0);
strcat(p,".decompiled");
strcpy(p,".decompiled");
src=fopen(newname,"w");
if(src != NULL) {
printf("Decompiling %s to %s\n",argv[f],newname);
......
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