...
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
CodeSonar |
| ALLOC.FNH | Free Non-Heap Variable | ||||||
Can detect some violations of this rule | |||||||||
| BAD_FREE | Identifies calls to | |||||||
| FNH.MIGHT | ||||||||
| 483 S | Fully implemented |
Related Vulnerabilities
CVE-2015-0240 describes a vulnerability in which an uninitialized pointer is passed to TALLOC_FREE()
, which is a Samba-specific memory deallocation macro that wraps the talloc_free()
function. The implementation of talloc_free()
would access the uninitialized pointer, resulting in a remote exploit.
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...
CERT C Secure Coding Standard | MEM31-C. Free dynamically allocated memory when no longer needed |
CERT C++ Coding Standard | MEM31MEM51-CPP. Properly deallocate dynamically allocated resources |
ISO/IEC TS 17961 | Reallocating or freeing memory that was not dynamically allocated [xfree] |
MITRE CWE | CWE-590, Free of Memory Not on the Heap |
...