A solid understanding of undefined behavior is required if you want to write software in C that is secure, that will behave properly, and that is portable.<p>Undefined behavior has been the source of numerous security exploits in the past, and will only get worse as modern optimizing compilers become more advanced.