Main Content
CWE Rule 396
Description
Rule Description
Catching overly broad exceptions promotes complex error handling code that is more likely to contain security vulnerabilities.
Polyspace Implementation
The rule checker checks for Declaration of catch for generic exception.
Examples
Check Information
Category: Error Conditions, Return Values, Status Codes |
Version History
Introduced in R2023a