Quantcast
Channel: User luke - Stack Overflow
Viewing all articles
Browse latest Browse all 31

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

$
0
0
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 all articles
Browse latest Browse all 31

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>