...
Improper handling of signals can lead to security vulnerabilities. The following rules and recommendations are designed to reduce the common errors associated with signal handling.
Rules
SIG00SIG30-C. Do not call non-reentrant functions within signal handlers
...