Skip to content
OpenAdvisories

Weakness (CWE)

CWE-570: Expression is Always False

Base Draft

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

How to prevent it (1 mitigation)
  1. Implementation

    Consider refactoring the code, or determine if the code is not including a condition that could cause the expression to become false.

Source: MITRE CWE-570

1 result · Clear filters · Feed

  • Medium 4.0

    Unsigned compared against 0

    An unsigned value can never be negative, so eMMC full disk test will always evaluate the same way.