...
POSIX recommends sigaction()
and deprecates the use of signal()
to register signal handlers. Unfortunately, sigaction()
is not defined in the C Standard and is consequently not as portable a solution.
...
Tool | Version | Checker | Description | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CodeSonar |
| BADFUNC.SIGNAL | Use of signal | |||||||||||||
Helix QAC |
| C5019 | ||||||||||||||
LDRA tool suite |
| 44 S | Enhanced enforcement | |||||||||||||
Parasoft C/C++test |
| MISRA2004-20_8_b | Use of signal | PRQA QA-C | ||||||||||||
Include Page | PRQA QA-C_v | PRQA QA-C_v | 5019 | CERT_C-SIG00-a | The signal handling facilities of <signal.h> shall not be used | |||||||||||
PC-lint Plus |
| 586 | Assistance provided: reports use of the signal function | Partially implemented
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...