...
Allowing the application to abnormally terminate can lead to resources not being freed, closed, and so on. It is frequently a vector for denial-of-service attacks.
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
ERR51-CPP | Low | Probable | Medium | P4 | L3 |
Automated Detection
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
Axivion Bauhaus Suite |
| CertC++-ERR51 | |||||||
LDRA tool suite |
| 527 S | Partially implemented | ||||||
Parasoft C/C++test |
|
|
| EXCEPT-13 | ||||
PRQA QA-C++ | 4.1 | 4035, 4036, 4037 |
Related Vulnerabilities
Search for other vulnerabilities resulting from the violation of this rule on the CERT website.
...
This rule is a subset of ERR50-CPP. Do not abruptly terminate the program.
Bibliography
[ISO/IEC 14882-2014] | Subclause 15.1, "Throwing an Exception" |
[MISRA 2008] | Rule 15-3-2 (Advisory) Rule 15-3-4 (Required) |
...
...