Versions Compared


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


Search for vulnerabilities resulting from the violation of this rule on the CERT website.

Other Languages

This rule appears in the C++ Secure Coding Standard as SIG30-CPP. Call only asynchronous-safe functions within signal handlers.


Wiki Markup
\[[Dowd 06|AA. C References#Dowd 06]\] Chapter 13, "Synchronization and State"
\[[ISO/IEC 03|AA. C References#ISO/IEC 03]\] Section 5.2.3, "Signals and interrupts"
\[[ISO/IEC 9899:1999|AA. C References#ISO/IEC 9899-1999]\] Section 7.14, "Signal handling {{<signal.h>}}"
\[[MITRE 07|AA. C References#MITRE 07]\] [CWE ID 479|], "Unsafe Function Call from a Signal Handler"
\[[Open Group 04|AA. C References#Open Group 04]\] [longjmp|]
\[[OpenBSD|AA. C References#OpenBSD]\] [{{signal()}} Man Page|]
\[[Zalewski 01|AA. C References#Zalewski 01]\]