Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Edited by sciSpider Java v3.0 (sch jp)

...

Problems can ensue when the programmer uses such operators on NaN values in comparison operations. There is also a possibility that the input validation condition does not expect a NaN value as input.

...

Noncompliant Code Example

A frequently encountered mistake is the doomed comparison with NaN, typically in expressions. As per its semantics, no value can be compared to NaN using common operators, including NaN itself. This non-compliant noncompliant example demonstrates one of such cases.

...

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

EXP01-J

low

unlikely

medium

P??

P2

L3 L??

Automated Detection

TODO

Related Vulnerabilities

...