Assigning instead of Comparing

Properties


name
Assigning instead of Comparing
definition
The code uses an operator for assignment when the intention was to perform a comparison.

Neighbors

CWE-481 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.