[PATCH] soc: soc_ti_k3: fix revision array bounds checks
Bryan Brattlof
bb at ti.com
Mon Mar 27 23:48:35 CEST 2023
Hi Rasmus!
On March 24, 2023 thus sayeth Rasmus Villemoes:
> If rev is equal to the array size, we'll access the array
> one-past-the-end.
>
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes at prevas.dk>
> ---
> drivers/soc/soc_ti_k3.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Oops! good catch!
Reviewed-by: Bryan Brattlof <bb at ti.com>
~Bryan
More information about the U-Boot
mailing list