commit | 224b2ff0ce541b0884d910e3197f148e8fe37af1 | [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 | 0154cfee92f23201994bd68d044d10e40d5971d5 [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>