Quantcast
Viewing latest article 11
Browse Latest Browse All 31

Comment by luke on "Free heap block modified after it was freed" when modifying string after malloc

I know this is late but I would just like to add in case of any future viewers that snprintf is c99 and sprintf is specified in c90. Due to portability I was required to use c89 and hence did not use them originally.My fault for leaving it out the question, sorry.

Viewing latest article 11
Browse Latest Browse All 31

Trending Articles