aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2025-09-18 12:50:26 +0300
committerJens Wiklander <jens.wiklander@linaro.org>2025-09-19 08:45:59 +0200
commitb14bb2e7821bdd133afeb5e623fd6c5a2273ecf6 (patch)
treeaebb2d2ff85b31f3ea90ba017adfe63e4804a074 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentDocumentation: tee: Add Qualcomm TEE driver (diff)
downloadlinux-b14bb2e7821bdd133afeb5e623fd6c5a2273ecf6.tar.gz
linux-b14bb2e7821bdd133afeb5e623fd6c5a2273ecf6.zip
tee: qcom: prevent potential off by one read
Re-order these checks to check if "i" is a valid array index before using it. This prevents a potential off by one read access. Fixes: d6e290837e50 ("tee: add Qualcomm TEE driver") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions