CWE-1087: Class with Virtual Method without a Virtual Destructor
Filter
A class contains a virtual method, but the method does not have an associated virtual destructor.
What the weakness is: CWE-1087 at MITRE. All weaknesses
Ask an AI about CWE-1087
Show the prompt
Explain CWE-1087: Class with Virtual Method without a Virtual Destructor and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/1087.html and https://cve.bz/cve/cwe/1087?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.