Versions Compared

Key

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

...

Tool

Version

Checker

Description

CodeSonar
Include Page
CodeSonar_V
CodeSonar_V

ALLOC.DF
ALLOC.LEAK

Double free
Leak

Compass/ROSE

 

 

Could detect possible violations by reporting any function that has malloc() or free() but not both. This would catch some false positives, as there would be no way to tell if malloc() and free() are at the same level of abstraction if they are in different functions

Coverity6.5RESOURCE_LEAKFully implemented

Fortify SCA

5.0

 

Can detect violations of this rule with CERT C Rule Pack

LDRA tool suite

Include Page
LDRA_V
LDRA_V

50 D

Partially implemented

Parasoft C/C++test9.5MEM-18,MEM-19,MEM-20Fully implemented
Parasoft Insure++  Runtime analysis will detect all leaks
Polyspace Bug FinderR2016a

Invalid free of pointer

Deallocation of previously deallocated pointer

Use of previously freed pointer

Pointer deallocation without a corresponding dynamic allocation

Memory freed more than once without allocation

Memory accessed after deallocation

Related Vulnerabilities

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

...