BaseIncomplete
CWE-1087Class with Virtual Method without a Virtual Destructor
Category: other
Description
A class contains a virtual method, but the method does not have an associated virtual destructor.
Common consequences· 1
- Other — Reduce ReliabilityThis issue can prevent the product from running reliably, e.g. due to undefined behavior. If the relevant code is reachable by an attacker, then this reliability problem might introduce a vulnerability.
References
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.