Skip to content

Commit

Permalink
Fix uninitialized values
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan Jowett committed Oct 26, 2024
1 parent 8daefe3 commit 203e9b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libfuzzer/libfuzz_harness.cc
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ ubpf_debug_function(
ubpf_context_t
ubpf_context_from(std::vector<uint8_t>& memory, std::vector<uint8_t>& ubpf_stack)
{
ubpf_context_t context;
ubpf_context_t context{};
context.data = reinterpret_cast<uint64_t>(memory.data());
context.data_end = context.data + memory.size();
context.original_data = context.data;
Expand Down

0 comments on commit 203e9b9

Please sign in to comment.