...
Failure to restore prior object state on method failure can leave the object in an inconsistent state and can violate required state invariants.
Rule | Severity | Likelihood | Detectable | RepairableRemediation Cost | Priority | Level |
|---|---|---|---|---|---|---|
ERR03-J | Low | Probable | No | NoHigh | P2 | L3 |
Automated Detection
| Tool | Version | Checker | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Klocwork |
| SV.HTTP_SPLIT SV.SSRF.URI | |||||||
| Parasoft Jtest |
| CERT.ERR03.REVOBJ | Restore prior object state on method failure |
...