summaryrefslogtreecommitdiff
path: root/tools/docs/lib/parse_data_structs.py
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/docs/lib/parse_data_structs.py
parentdcc7a571a3665a16581b5b18ca6b113f60a9a41a (diff)
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/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions