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 recommendation.

Fortify SCA Version 5.0 with CERT C Rule Pack can detect violations of this recommendation.

The tool Compass/ROSE could detect violations in the following manner: All calls to strncpy() and the other functions should be follwed by an assignment of a terminating character to null-terminate the string.

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.

...