Sticky Bits posted a lesson on C integers that explains the common pitfalls (and some uncommon ones) of arithmetic operations. It contains information that any C developer should know but that is often overlooked, and that might be the cause of many bugs that can result in misbehaviour or security issues. I think it’s written in a way that is both simple and rigorous; it’s better to read it before introducing bugs!
Sticky Bits » Vulnerabilities in C : When integers go bad!
Posted on 2014/10/25
Posted in: Software