u-boot/arch/arm/mach-stm32mp
Rasmus Villemoes daf07215e8 stm32mp: fix various array bounds checks
In all these cases, the index on the LHS is immediately afterwards
used to access the array appearing in the ARRAY_SIZE() on the RHS - so
if that index is equal to the array size, we'll access
one-past-the-end of the array.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2023-04-19 10:02:28 +02:00
..
cmd_stm32prog Correct SPL uses of PMIC_STPMIC1 2023-02-10 07:41:40 -05:00
include/mach ARM: stm32: Factor out save_boot_params 2023-01-13 13:46:57 +01:00
boot_params.c ARM: stm32: Factor out save_boot_params 2023-01-13 13:46:57 +01:00
bsec.c stm32mp: Add support of STM32MP13x in bsec driver 2023-01-12 16:37:13 +01:00
cmd_stm32key.c stm32mp: Add OP-TEE support in bsec driver 2023-01-12 16:37:13 +01:00
cpu.c stm32mp: fix various array bounds checks 2023-04-19 10:02:28 +02:00
dram_init.c arm: stm32mp: Fix board_get_usable_ram_top() again 2023-01-06 11:02:17 +01:00
ecdsa_romapi.c ARM: stm32: Factor out save_boot_params 2023-01-13 13:46:57 +01:00
fdt.c Correct SPL use of STM32MP15X_STM32IMAGE 2023-02-10 07:41:40 -05:00
Kconfig arm: stm32mp: add support of STM32MP13x 2022-06-17 09:58:21 +02:00
Kconfig.13x Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
Kconfig.15x Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
Makefile ARM: stm32: Make ECDSA authentication available to U-Boot 2023-01-13 13:46:57 +01:00
psci.c stm32mp: psci: Retain MCUDIVR, PLL3CR, PLL4CR, MSSCKSELR across suspend 2022-05-10 13:54:47 +02:00
pwr_regulator.c arm: stm32mp: migrate trace to log macro 2021-01-13 09:52:58 +01:00
spl.c arm: stm32mp: move code for STM32MP15x 2022-06-17 09:58:21 +02:00
stm32mp13x.c stm32mp: add support of STM32MP13x Rev.Y 2022-07-12 11:47:34 +02:00
stm32mp15x.c stm32mp: simplify the STM32MP15x package parsing code 2022-09-06 13:54:50 +02:00
syscon.c stm32mp: syscon: manage clock when present in device tree 2021-07-16 09:28:46 +02:00
tzc400.c arm: stm32mp: Implement support for TZC 400 controller 2021-07-27 09:48:09 +02:00