This page is experimental and may change significantly in future releases.
Unexpected Sign Extension
Properties
id: d3f:CWE-194
- name
- Unexpected Sign Extension
- definition
- The product performs an operation on a number that causes it to be sign extended when it is transformed into a larger data type. When the original number is negative, this can produce unexpected values that lead to resultant weaknesses.
Neighbors
CWE-194 has no direct neighbors in this release.Inferred Relationships
Related Countermeasure Techniques
Related Weaknesses
CWE-194 has no related weaknesses in this release.