CWE-570 · Słabość
Expression is Always False
- Abstrakcja
- Bazowa
- Status
- Szkic
- Dodano
- 15 grudnia 2006
- Ostatnia zmiana
- 30 kwietnia 2026
Opis
The product contains an expression that will always evaluate to false.
Skutki
Other
Quality Degradation; Varies by Context
Zapobieganie
Implementation · Refactoring
Consider refactoring the code, or determine if the code is not including a condition that could cause the expression to become false.
Słabość nadrzędna
Może prowadzić do
Kiedy powstaje
- Implementation
Dotyczy
Not Language-Specific
Wpis z katalogu CWE 4.20.