diff options
author | AKASHI Takahiro | 2023-11-07 09:05:47 +0900 |
---|---|---|
committer | Tom Rini | 2023-11-10 10:59:28 -0500 |
commit | 4808d1633336a98f3c48a94a7e1fcd1e1030a324 (patch) | |
tree | 2ee4cf79e6d1d28fa309ea8f7c4fb5f52561afbe /board | |
parent | d2174dbff1b492c682cc93903bc7456c2784e719 (diff) |
firmware: scmi: correct a validity check against power domain id
A power domain id on sandbox should be in the range from zero to
ARRAY_SIZE(scmi_pwdom) - 1. Correct the validity check logic.
Addresses-Coverity-ID: 467401 ("Out-of-bounds write")
Addresses-Coverity-ID: 467405 ("Out-of-bounds read")
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions