Versions Compared

Key

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

...

Setting pointers to NULL after memory has been freed is a simple and easily implemented solution for reducing dangling pointers. Dangling pointers can result in freeing memory multiple times or in writing to memory that has already been freed. Both of these problems can lead to an attacker executing arbitrary code with the permissions of the vulnerable process.

Rule Recommendation

Severity

Likelihood

Remediation Cost

Priority

Level

MEM01-A

3 (high)

2 (probable)

3 (low)

P18

L1

...