...
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Related Guidelines
CERT C++ Secure Coding Standard | INT34-CPP. Do not shift a negative number of bits or more bits than exist in the operand |
ISO/IEC TR 24772:2013 | Arithmetic Wrap-around error Error [XYYFIF] |
Bibliography
[Dowd 2006] | Chapter 6, "C Language Issues" |
[ISO/IEC 2003] | Section 6.5.7, "Bitwise Shift Operators" |
[Seacord 2005a] | Chapter 5, "Integers" |
[Viega 2005] | Section 5.2.7, "Integer Overflow" |
...