[use after free] Report only high confidence level use_after_free

Reviewed By: jvillard

Differential Revision: D7744099

fbshipit-source-id: 8f528c6
master
Daiva Naudziuniene 7 years ago committed by Facebook Github Bot
parent 6b6f6be6d9
commit 496e5e8c0a

@ -177,7 +177,8 @@ let should_report (issue_kind: Exceptions.err_kind) issue_type error_desc eclass
; null_dereference
; parameter_not_null_checked
; premature_nil_termination
; empty_vector_access ]
; empty_vector_access
; use_after_free ]
in
List.mem ~equal:IssueType.equal null_deref_issue_types issue_type
in

Loading…
Cancel
Save