u-boot/drivers/ram/stm32mp1
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
..
Kconfig Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
Makefile stm32mp1: ram: remove tuning support 2021-11-30 16:43:28 +01:00
stm32mp1_ddr.c ram: stm32mp1: Conditionally enable ASR 2022-05-10 13:54:47 +02:00
stm32mp1_ddr.h stm32mp1: ram: remove tuning support 2021-11-30 16:43:28 +01:00
stm32mp1_ddr_regs.h ram: stm32mp1: Unconditionally enable ASR 2022-03-15 09:16:55 +01:00
stm32mp1_interactive.c stm32mp: fix various array bounds checks 2023-04-19 10:02:28 +02:00
stm32mp1_ram.c ram: stm32mp1: add support of STM32MP13x 2022-06-17 10:41:16 +02:00
stm32mp1_tests.c cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
stm32mp1_tests.h stm32mp1: ram: remove tuning support 2021-11-30 16:43:28 +01:00