CWE-1079: Parent Class without Virtual Destructor Method
Filter
A parent class contains one or more child classes, but the parent class does not have a virtual destructor method.
What the weakness is: CWE-1079 at MITRE. All weaknesses
Ask an AI about CWE-1079
Show the prompt
Explain CWE-1079: Parent Class without Virtual Destructor Method and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/1079.html and https://cve.bz/cve/cwe/1079?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
No records match.