replace malloc/snprintf/sprintf with asprintf
replace malloc/snprintf/sprintf with asprintf
KNF & malloc/snprintf/sprintf => asprintf
KNF