Methods return values to signify failure or success, at other times, to update the caller's objects or fields. Security risks can arise if return values are simply ignored or if suitable action is not taken on their receipt.
...
Noncompliant Code Example
This non-compliant noncompliant code example ignores the return value while making use of the String.replace
method. As a result, the original string is not updated even though it seems otherwise.
...
Rule | Severity | Likelihood | Remediation Cost | Priority | Level | |
---|---|---|---|---|---|---|
EXP02-J | medium | probable | medium | P?? | P8 | L2 L?? |
Automated Detection
TODO
Related Vulnerabilities
...