commit | 13c908495e5d51718a6da84ae925fa2aac056380 | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Tue Apr 28 18:21:07 2020 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Tue Apr 28 19:48:05 2020 -0700 |
tree | 17dfdb683c42933de1fbb2213550526c273104e2 | |
parent | 9f56bb531a809ecaa7f0ddca61d2cf3adc1cb81a [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