Versions Compared

Key

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

...

POSIX recommends sigaction() and deprecates signal(). Unfortunately, sigaction() is not defined in the C standard and Standard and is consequently not as portable a solution.

...

Tool

Version

Checker

Description

Compass/ROSE

 

 

Could detect possible violations by flagging any signal handler that calls signal() to (re)assert itself as the handler for its signal.

PRQA QA-C
Include Page
PRQA_V
PRQA_V
warncall for signalPartially implemented.

Related Vulnerabilities

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

Related Guidelines

...

...

ISO/IEC 9899:2011 Section 7.14.1.1, "The signal function"

...

...