...
POSIX recommends sigaction()
and deprecates signal()
. Unfortunately, sigaction()
is not defined in the C standard and Standard and is consequently not as portable a solution.
...
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
Compass/ROSE |
|
| Could detect possible violations by flagging any signal handler that calls | ||||||
PRQA QA-C |
| warncall for signal | Partially implemented. |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Related Guidelines
...
...
ISO/IEC 9899:2011 Section 7.14.1.1, "The signal
function"
...
...