Skip to content

Commit

Permalink
Merge branch 'main' into issue4072
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan-Jowett authored Dec 9, 2024
2 parents 9ea7be7 + 4290611 commit 9715d7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/execution_context/ebpf_program.c
Original file line number Diff line number Diff line change
Expand Up @@ -2109,7 +2109,8 @@ ebpf_program_get_info(
EBPF_RETURN_RESULT(EBPF_INVALID_POINTER);
} else {
ebpf_map_t* map = program->maps[i];
map_ids[i] = ebpf_map_get_id(map);
// Volatile user mode pointer.
WriteNoFence((volatile long*)&map_ids[i], ebpf_map_get_id(map));
}
}
} __except (EXCEPTION_EXECUTE_HANDLER) {
Expand Down

0 comments on commit 9715d7b

Please sign in to comment.