Home / Vulnerability Database / C or C++ : Identical expressions
C/C++
C or C++ : Identical expressions
Classification
CWE
Overview
One of the following code constructions encountered:
- Identical expressions are on both sides of bitwise or logical operator;
- True and false branches are identical;
- Identical expressions are compared;
- Identical expressions on both sized of
':'conditional expression; - Condition is unnecessarily checked twice.
This may indicate an error in program logic.
MEDIUM
DerScanner Severity Score
Do you want to fix C or C++ : Identical expressions in your application?
See also
C/C++
C or C++ : Dead store
C/C++
C or C++ : Use after free
C/C++
