CWE-1335
Incorrect Bitwise Shift of Integer
An integer value is specified to be shifted by a negative amount or an amount greater than or equal to the number of bits contained in the value causing an unexpected or indeterminate result.
Mitigation
Phase: Implementation
Description:
- Implicitly or explicitly add checks and mitigation for negative or over-shift values.
No CAPEC attack patterns related to this CWE.