Re: [PATCH 1/1] arm: mvebu: avoid buffer overflow in hws_serdes_topology_verify

2023-05-03 Thread Stefan Roese
On 4/18/23 02:00, Heinrich Schuchardt wrote: If serdes type is invalid, we cannot assume that it is a valid index for serdes_type_to_str[]. Fixes: edb470253346 ("arm: mvebu: Add Armada 38x SERDES / PHY init code from Marvell bin_hdr") Signed-off-by: Heinrich Schuchardt Applied to u-boot-marv

Re: [PATCH 1/1] arm: mvebu: avoid buffer overflow in hws_serdes_topology_verify

2023-04-17 Thread Stefan Roese
On 4/18/23 02:00, Heinrich Schuchardt wrote: If serdes type is invalid, we cannot assume that it is a valid index for serdes_type_to_str[]. Fixes: edb470253346 ("arm: mvebu: Add Armada 38x SERDES / PHY init code from Marvell bin_hdr") Signed-off-by: Heinrich Schuchardt Reviewed-by: Stefan Ro

[PATCH 1/1] arm: mvebu: avoid buffer overflow in hws_serdes_topology_verify

2023-04-17 Thread Heinrich Schuchardt
If serdes type is invalid, we cannot assume that it is a valid index for serdes_type_to_str[]. Fixes: edb470253346 ("arm: mvebu: Add Armada 38x SERDES / PHY init code from Marvell bin_hdr") Signed-off-by: Heinrich Schuchardt --- arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c | 4 ++-- 1