Tag Archives: Expression is Always False

CWE-570 – Expression is Always False

Read Time:14 Second

Description

The software contains an expression that will always evaluate to false.

Modes of Introduction:

– Implementation

 

 

Related Weaknesses

CWE-710
CWE-561

 

Consequences

Other: Quality Degradation, Varies by Context

 

Potential Mitigations

Phase: Testing

Description: 

Use Static Analysis tools to spot such conditions.

CVE References