strcat .
, . , . .
, undefined. , . , , , , .
, malloc , .
-
name2 = malloc(strlen(arg[1]) + sizeof "-results.pdb");
"+1" NUL, sizeof "-results.pdb" 13.
asprintf ( ISO C, Unix), :
asprintf(&name2, "%s-results.psb", arg[1]);
! strlen, strcat, no sizeof, no malloc. "--", TM.