Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added Polyspace Bug Finder

...

Tool

Version

Checker

Description

Compass/ROSE



Could detect violations of this rule by looking for signal handlers that themselves call signal(). A violation is reported if the call fails and the handler therefore checks errno. A violation also exists if the signal handler modifies errno without first copying its value elsewhere

Coverity
Include Page
Coverity_V
Coverity_V

MISRA C 2012 Rule 22.8

MISRA C 2012 Rule 22.9

MISRA C 2012 Rule 22.10

Implemented
LDRA tool suite
Include Page
LDRA_V
LDRA_V
44 SEnhanced enforcement
Parasoft C/C++test
Include Page
c:Parasoft_Vc:
Parasoft_V
MISRA2012-RULE-22_8, MISRA2012-RULE-22_9, MISRA2012-RULE-22_10Implemented

Polyspace Bug Finder

R2018aMisuse of errno in a signal handlerYou read errno after calling an errno-setting function in a signal handler

Related Vulnerabilities

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

...