aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/perf_buffer.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-04-29 01:21:07 +0000
committerAlexei Starovoitov <[email protected]>2020-04-29 02:48:05 +0000
commit13c908495e5d51718a6da84ae925fa2aac056380 (patch)
tree17dfdb683c42933de1fbb2213550526c273104e2 /tools/testing/selftests/bpf/prog_tests/perf_buffer.c
parentselftests/bpf: Fix memory leak in extract_build_id() (diff)
downloadkernel-13c908495e5d51718a6da84ae925fa2aac056380.tar.gz
kernel-13c908495e5d51718a6da84ae925fa2aac056380.zip
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 <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/perf_buffer.c')
0 files changed, 0 insertions, 0 deletions