Versions Compared

Key

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

...

Casting pointers or references to incomplete classes can result in bad addresses. Deleting a pointer to an incomplete class results in undefined behavior if the class has a non-trivial destructor. This can result in program termination, a runtime signal, or resource leaks.

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

ERR01-A

2 (medium)

1 (unlikely)

2 (medium)

P4

L3

...