Comparing instead of Assigning

Properties


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

Neighbors

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