aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-11-03 10:32:13 -0700
committerAlexei Starovoitov <[email protected]>2021-11-03 13:25:37 -0700
commitb7332d2820d394dd2ac127df1567b4da597355a1 (patch)
tree64263576d847b957e2aecf13e6a9438afa6b852d /lib/test_overflow.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 <[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