u-boot/drivers/firmware/scmi
AKASHI Takahiro 4808d16333 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>
2023-11-10 10:59:28 -05:00
..
base.c firmware: scmi: add a version check against base protocol 2023-10-13 16:59:23 -04:00
Kconfig firmware: scmi: Add OP-TEE transport 2021-11-23 13:54:43 -05:00
mailbox_agent.c firmware: scmi: use a protocol's own channel if assigned 2023-10-13 16:59:23 -04:00
Makefile firmware: scmi: add power domain protocol support 2023-10-24 17:05:24 -04:00
optee_agent.c firmware: scmi: Fix clearing variable 2023-10-13 21:21:07 -04:00
pwdom.c firmware: scmi: add power domain protocol support 2023-10-24 17:05:24 -04:00
sandbox-scmi_agent.c firmware: scmi: correct a validity check against power domain id 2023-11-10 10:59:28 -05:00
sandbox-scmi_devices.c sandbox: add SCMI power domain protocol support for testing 2023-10-24 17:05:24 -04:00
scmi_agent-uclass.c power: domain: add SCMI driver 2023-10-24 17:05:24 -04:00
smccc_agent.c firmware: scmi: use a protocol's own channel if assigned 2023-10-13 16:59:23 -04:00
smt.c firmware: scmi: optee: use TEE shared memory for SCMI messages 2022-06-23 13:12:55 -04:00
smt.h firmware: scmi: optee: use TEE shared memory for SCMI messages 2022-06-23 13:12:55 -04:00