Re: [PATCH] phy: qcom: qmp-usbc: Fix out-of-bounds array access in dp swing config
From: Vinod Koul
Date: Tue May 19 2026 - 06:58:46 EST
On Fri, 27 Feb 2026 20:15:01 +0800, Xiangxu Yin wrote:
> swing_tbl and pre_emphasis_tbl are 4x4 arrays (valid indices 0-3), but
> the boundary check uses "> 4" instead of ">= 4", allowing index 4 to
> cause an out-of-bounds access.
>
>
Applied, thanks!
[1/1] phy: qcom: qmp-usbc: Fix out-of-bounds array access in dp swing config
commit: ea17fc4d7dc2ba6459b1a318962960520201baf1
Best regards,
--
~Vinod