Versions Compared

Key

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

...

Automated Detection

The LDRA tool suite V Version 7.6.0 can detect violations of this rule.

...

Compass/ROSE can detect violations of the rule. However, it is unable to handle cases involving strcpy_s() or manual string copies such as the one in the first example.

Klocwork Version 8.0.4.16 can detect violations of this rule with the NNTS checker.

Related Vulnerabilities

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

...