CWE-1079: Parent Class without Virtual Destructor Method

BaseIncomplete

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

View on MITRE
Back to CWE Lookup

Extended Description

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.

Technical Details

Structure
Simple

Applicable To

Languages
Platforms

Learn More