Numeric Truncation Error

Properties


name
Numeric Truncation Error
definition
Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.

Neighbors

CWE-197 has no direct neighbors in this release.

Inferred Relationships

This page is experimental and may change significantly in future releases.

Related Countermeasure Techniques

No related defensive techniques in this release.

Related Weaknesses

Related Offensive Techniques

No related offensive techniques in this release.