diff options
author | Robin Murphy <robin.murphy@arm.com> | 2022-05-10 22:23:08 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-05-11 10:20:42 +0100 |
commit | 3630b2a86390b4be907d8685b2fddee0dd73a835 (patch) | |
tree | 4591b215d228ad4ed7ea87275ba5827c608f2128 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 33835e8dfb3c79821cdc6e2a9b48ae05bd4820dc (diff) |
perf/arm-cmn: Fix filter_sel lookup
Carefully considering the bounds of an array is all well and good,
until you forget that that array also contains a NULL sentinel at
the end and dereference it. So close...
Reported-by: Qian Cai <quic_qiancai@quicinc.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/bebba768156aa3c0757140457bdd0fec10819388.1652217788.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions