...
If the integer exhibiting modulo behavior contributes to the value of an integer not marked as exhibiting modulo behavior, the resulting integer must obey this rule.
...
Priority: P6 Level: L2
Integer overflow can lead to buffer overflows and the execution of arbitrary code by an attacker.
Component | Value |
---|---|
Severity | 3 (high) |
Likelihood | 2 (probable) |
Remediation cost | 1 (high) |
References
- ISO/IEC 9899-1999 Section 6.5 Expressions, Section 7.10 Sizes of integer types <limits.h>
- Seacord 05 Chapter 5 Integers
- Warren 02 Chapter 2 Basics