






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
What integer overflows are, their causes, consequences, and how to prevent them in c and c++ programming. It covers unsigned and signed integers, casting operations, and security concerns.
Typology: Slides
1 / 12
This page cannot be seen from the preview
Don't miss anything!







“[T]he condition that occurs when a calculation produces a result that is greater in magnitude than that which a given register or storage location can store or represent.”
http://en.wikipedia.org/wiki/Arithmetic_overflow
Source: http://hubpages.com/hub/Data-Types-in-C-Language
Source: 19 Deadly Sins. Howard, Leblanc, Viega [2005]