VariantIncomplete
CWE-1077Floating Point Comparison with Incorrect Operator
Category: other
Description
The code performs a comparison such as an
equality test between two float (floating point) values, but
it uses comparison operators that do not account for the
possibility of loss of precision.
Common consequences· 1
- Other — Reduce ReliabilityThis issue can prevent the product from running reliably. If the relevant code is reachable by an attacker, then this reliability problem might introduce a vulnerability.
References
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.