...
Relying on the %a and %A specifiers to not produce values with a leading zero is error prone.
Noncompliant Code Example
This noncompliant code relies on the %a specifier to produce a result starting with 0x1. or -0x1.
This behavior is guaranteed only for normalized numbers, but may fail for non-normalized values.
...
Code Block |
---|
8.900295e-308 is a double 4.450148e-308 is a double 2.225074e-308 is a double 1.112537e-308 is not a double 5.562685e-309 is not a double 2.781342e-309 is not a double |
Compliant Solution
TODO
Code Block | ||
---|---|---|
| ||
TODO |
Risk Assessment
TODO
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
FIO17-C | — | — | — | --- | --- |
Automated Detection
TODO
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
References
TODO