CWE-570
Expression is Always False
AI Translation Available
The product contains an expression that will always evaluate to false.
Status
draft
Abstraction
base
Affected Platforms
Technical Details
AI Translation
Common Consequences
other
Impacts
quality degradation
varies by context
Detection Methods
automated static analysis
Potential Mitigations
Phases:
implementation
Descriptions:
•
Consider refactoring the code, or determine if the code is not including a condition that could cause the expression to become false.