aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-01-18 11:36:51 +0000
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-01-20 19:54:05 -0600
commite6393818c8d13cb602af4850bcef47ead1455bbf (patch)
tree47339036a656d0caf8da58afe2fd116c7582d810 /tools/perf/scripts/python/syscall-counts.py
parent3bc4bf77fa2adca8d6677461b6ec57505f1a3331 (diff)
soc: qcom: socinfo: Fix off-by-one array index bounds check
There is an off-by-one array index bounds check on array pmic_models. Fix this by checking using < rather than <= on the array size. Addresses-Coverity: ("Out-of-bounds read") Fixes: 734c78e7febf ("soc: qcom: socinfo: add info from PMIC models array") Signed-off-by: Colin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20210118113651.71955-1-colin.king@canonical.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions