CWE-460 — Improper Cleanup on Thrown Exception
Abstraction: Base
|
Status: Draft
Description
If one breaks from a loop or function by throwing an exception, make sure that cleanup happens or that you should exit the program. Use throwing exceptions sparsely.
Raw catalog entry
MITRE page{
"abstraction": "Base",
"description": "If one breaks from a loop or function by throwing an exception, make sure that cleanup happens or that you should exit the program. Use throwing exceptions sparsely.",
"id": "CWE-460",
"name": "Improper Cleanup on Thrown Exception",
"status": "Draft"
}