Skip to content

Commit

Permalink
Copy zeroinit from left arg
Browse files Browse the repository at this point in the history
Co-authored-by: Simmo Saan <[email protected]>
  • Loading branch information
michael-schwarz and sim642 committed Dec 30, 2024
1 parent f606f5d commit 250d660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cdomain/value/cdomains/valueDomain.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ struct
| Blob (x,s,zeroinit), _ ->
begin
match offs, value with
| `NoOffset, Blob (x2, s2, zeroinit2) -> mu (Blob (join x x2, ID.join s s2,ZeroInit.join zeroinit zeroinit2))
| `NoOffset, Blob (x2, s2, zeroinit2) -> mu (Blob (join x x2, ID.join s s2, zeroinit))
| _ ->
let l', o' = shift_one_over l o in
let x = zero_init_calloced_memory zeroinit x t in
Expand Down

0 comments on commit 250d660

Please sign in to comment.