aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/timer.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-11-03 10:32:13 -0700
committerAlexei Starovoitov <ast@kernel.org>2021-11-03 13:25:37 -0700
commitb7332d2820d394dd2ac127df1567b4da597355a1 (patch)
tree64263576d847b957e2aecf13e6a9438afa6b852d /tools/testing/selftests/bpf/prog_tests/timer.c
parent0d6988e16a12ebd41d3e268992211b0ceba44ed7 (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 <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20211103173213.1376990-6-andrii@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/timer.c')
0 files changed, 0 insertions, 0 deletions