CWE Database
/

CWE-1045

Back to CWE list

CWE-1045

Parent Class with a Virtual Destructor and a Child Class without a Virtual Destructor

Base
Incomplete

Description

A parent class has a virtual destructor method, but the parent has a child class that does not have a virtual destructor.

Common Consequences

Scope

Other

Impact

Reduce Reliability

Applicable Platforms

Not Language-Specific

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now