This page is experimental and may change significantly in future releases.
Use of Wrong Operator in String Comparison
Properties
id: d3f:CWE-597
- name
- Use of Wrong Operator in String Comparison
- definition
- The product uses the wrong operator when comparing a string, such as using "==" when the .equals() method should be used instead.
Neighbors
CWE-597 has no direct neighbors in this release.Inferred Relationships
Related Countermeasure Techniques
Related Weaknesses
CWE-597 has no related weaknesses in this release.