aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/perf_buffer.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-04-28 18:21:07 -0700
committerAlexei Starovoitov <ast@kernel.org>2020-04-28 19:48:05 -0700
commit13c908495e5d51718a6da84ae925fa2aac056380 (patch)
tree17dfdb683c42933de1fbb2213550526c273104e2 /tools/testing/selftests/bpf/prog_tests/perf_buffer.c
parent9f56bb531a809ecaa7f0ddca61d2cf3adc1cb81a (diff)
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: c7566a69695c ("selftests/bpf: Add field existence CO-RE relocs tests") Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200429012111.277390-8-andriin@fb.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/perf_buffer.c')
0 files changed, 0 insertions, 0 deletions