Weakness (CWE)
CWE-395: Use of NullPointerException Catch to Detect NULL Pointer Dereference
Variant Draft
Catching NullPointerException should not be used as an alternative to programmatic checks to prevent dereferencing a null pointer.
How to prevent it (1 mitigation)
-
Architecture and Design, Implementation
Do not extensively rely on catching exceptions (especially for validating user input) to handle errors. Handling exceptions can decrease the performance of an application.
Source: MITRE CWE-395
3 results · Clear filters · Feed
-
Low 2.2
NULL pointer dereference in some Intel(R) VPL software before version 24.1.4 may allow an authenticated user to potenti…
-
Low 3.3
NULL pointer dereference in some Intel(R) oneVPL software before version 23.3.5 may allow an authenticated user to pote…
-
Low 2.8
Null pointer dereference for some Intel(R) Trace Analyzer and Collector software before version 2021.8.0 published Dec …