Integer overflow: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 9:
 
This can also occur if the processor has a register width capable of storing the result, but the result is stored into a [[variable]] that is too small to store the entire result.
 
A third possibility is that a [[signed integer]] is being used, the overflow could not only result in an incorrect value being returned, but that the value may be reported incorrectly as an unexpectedly negative or positive value.
 
==Security Ramifications==