...
Failing to use a plain old function as a signal handler can result in implementation-defined behavior as well as undefined behavior. Given the number of features that exist in C++ that do not also exist in C, the consequences that arise from failure to comply with this rule can have benign consequences, range from benign (harmless) behavior to abnormal program termination, or possibly even arbitrary code execution.
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
MSC56-CPP | MediumHigh | Probable | High | P4P6 | L3L2 |
Automated Detection
Tool | Version | Checker | Description |
---|---|---|---|
Parasoft C/C++test | 9.5 | MISRA2012-RULE-21_5_b |
...