CWE-1079 – Parent Class without Virtual Destructor Method

Read Time:12 Second

Description

A parent class contains one or more child classes, but the parent class does not have a virtual destructor method.

Modes of Introduction:

 

 

Related Weaknesses

CWE-1076

 

Consequences

Other: Reduce Reliability

 

Potential Mitigations

CVE References