Common Weakness Enumeration
CWE Definition / CWE-481
CWE-481: Assigning instead of Comparing
The code uses an operator for assignment when the intention was to perform a comparison.
Published:19 Jul 2006
Organization:MITRE
Modified:30 Apr 2026
CWE Definition / CWE-481
The code uses an operator for assignment when the intention was to perform a comparison.