Secure coding: Difference between revisions

Content deleted Content added
m Reverted edits by 206.225.74.50 (talk) to last version by Steel1943
Line 45:
printf(malicious_input);
}
</syntaxhighlight>A malicious argument passed to the program could be "%s%s%s%s%s%s%s”s", which can crash the program from improper memory reads.
 
== Integer-overflow prevention ==