diff options
author | Andrii Nakryiko <[email protected]> | 2021-11-03 10:32:13 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-11-03 13:25:37 -0700 |
commit | b7332d2820d394dd2ac127df1567b4da597355a1 (patch) | |
tree | 64263576d847b957e2aecf13e6a9438afa6b852d /lib/test_overflow.c | |
parent | 0d6988e16a12ebd41d3e268992211b0ceba44ed7 (diff) |
libbpf: Improve ELF relo sanitization
Add few sanity checks for relocations to prevent div-by-zero and
out-of-bounds array accesses in libbpf.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions