Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

No direct issues come from using the same handler for multiple signals, but it broadens your susceptibility to other vulnerabilities. For instance, be careful that a program doesn't generate two similar signals linked to the same handler, and the code to deal with it get executed twice asynchronously.

Non-Compliant Coding Example

...