Versions Compared

Key

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

...

Recommendation

Severity

Likelihood

Detectable

RepairableRemediation Cost

Priority

Level

STR06-C

Medium

Likely

No

NoMedium

P12P6

L1L2

Automated Detection

5007

Tool

Version

Checker

Description

CodeSonar
Include Page
CodeSonar_V
CodeSonar_V
(customization)Users who wish to avoid using strtok() entirely can add a custom check for all uses of strtok().
Compass/ROSE




Helix QAC

Include Page
Helix QAC_V
Helix QAC_V

C5007
LDRA tool suite
Include Page
LDRA_V
LDRA_V

602 S

Enhanced Enforcement

Polyspace Bug Finder

Include Page
Polyspace Bug Finder_V
Polyspace Bug Finder_V

Modification of internal buffer returned from nonreentrant standard function

Writing to const qualified object

Function attempts to modify internal buffer returned from a nonreentrant standard function

Object declared with a const qualifier is modified

PRQA QA-C
Include Page

CERT C: Rec. STR06-C

Checks for string passed to strok() without copying.

PRQA QA-C_vPRQA QA-C_v

Related Vulnerabilities

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

...