diff options
| author | Andrii Nakryiko <andrii@kernel.org> | 2021-11-03 10:32:13 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2021-11-03 13:25:37 -0700 |
| commit | b7332d2820d394dd2ac127df1567b4da597355a1 (patch) | |
| tree | 64263576d847b957e2aecf13e6a9438afa6b852d /net/unix/af_unix.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 <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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions