...
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 |
| CERT_C-SIG00-a | The signal handling facilities of <signal.h> shall not be used PRQA QA | |||||||||||||||||||||||
PC- | Clint Plus |
| PRQA QA
| C
| v
| PRQA QA
| C
| v
| 5019 | Partially implemented586 | Assistance provided: reports use of the signal function |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...