CWE-1079: Parent Class without Virtual Destructor Method

ID CWE-1079
Abstraction Base
Structure Simple
Status Incomplete
A parent class contains one or more child classes, but the parent class does not have a virtual destructor method.

This issue can prevent the product from running reliably due to undefined or unexpected behaviors. If the relevant code is reachable by an attacker, then this reliability problem might introduce a vulnerability.

Relationships

View Weakness
# ID View Status # ID Name Abstraction Structure Status
CWE-1000 Research Concepts Draft CWE-1076 Insufficient Adherence to Expected Conventions Class Simple Incomplete
Loading...
Loading...