Skip to content

Commit

Permalink
Fix bug in uninit and malloc_null
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-schwarz committed Feb 19, 2025
1 parent 125672a commit 7ab076e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/analyses/malloc_null.ml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ struct
| _ -> false)
|> Queries.AD.join a
(* Ignore soundness warnings, as invalidation proper will raise them. *)
| _ -> AD.empty () (* TODO: correct?! *)
| _ -> a
in
List.fold_left do_exp (AD.empty ()) args
in
Expand Down
2 changes: 1 addition & 1 deletion src/analyses/uninit.ml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ struct
| _ -> false)
|> Queries.AD.join a
(* Ignore soundness warnings, as invalidation proper will raise them. *)
| _ -> AD.empty ()
| _ -> a
in
List.fold_right do_exp args (AD.empty ())
in
Expand Down

0 comments on commit 7ab076e

Please sign in to comment.