Versions Compared

Key

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

...

Tool

Version

Checker

Description

LDRA tool suite

Include Page
LDRA_V
LDRA_V

45 D
53 D
54 D
438 S
576 S

Partially implemented.

PRQA QA-C
Include Page
PRQA_V
PRQA_V

2930
2814
0488

Partially Implemented

 

...

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

Related Guidelines

...

EXP08-CPP. Ensure pointer arithmetic is used correctly
ISO/IEC TR 17961(Draft) Adding or subtracting a byte count to an element pointer [cntradd]
ISO/IEC

...

...

Pointer casting and pointer type changes

...

[HFC] and

...

Pointer arithmetic

...

[RVG]
MISRA-CRules 17.1–17.4
MITRE CWE

...

...

Incorrect pointer scaling

...

Bibliography

[Dowd 2006]Chapter 6, "C Language Issues"
[Murenin 2007]