Skip to content
Commit 13c90849 authored by Andrii Nakryiko's avatar Andrii Nakryiko Committed by Alexei Starovoitov
Browse files

selftests/bpf: Fix invalid memory reads in core_relo selftest



Another one found by AddressSanitizer. input_len is bigger than actually
initialized data size.

Fixes: c7566a69 ("selftests/bpf: Add field existence CO-RE relocs tests")
Signed-off-by: default avatarAndrii Nakryiko <andriin@fb.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200429012111.277390-8-andriin@fb.com
parent 9f56bb53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment