commit | 4808d1633336a98f3c48a94a7e1fcd1e1030a324 | [log] [tgz] |
---|---|---|
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | Tue Nov 07 09:05:47 2023 +0900 |
committer | Tom Rini <trini@konsulko.com> | Fri Nov 10 10:59:28 2023 -0500 |
tree | 2ee4cf79e6d1d28fa309ea8f7c4fb5f52561afbe | |
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>