mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel.org>
To: Neil Armstrong <neil.armstrong@linaro.org>,
	 Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
	 Xiangxu Yin <xiangxu.yin@oss.qualcomm.com>
Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org,
	 linux-kernel@vger.kernel.org, fange.zhang@oss.qualcomm.com,
	 yongxing.mou@oss.qualcomm.com, li.liu@oss.qualcomm.com,
	 tingwei.zhang@oss.qualcomm.com,
	Konrad Dybcio <konradybcio@kernel.org>,
	 Dan Carpenter <dan.carpenter@linaro.org>
Subject: Re: [PATCH] phy: qcom: qmp-usbc: Fix out-of-bounds array access in dp swing config
Date: Tue, 19 May 2026 16:13:35 +0530	[thread overview]
Message-ID: <177918741546.257287.197313135336339918.b4-ty@kernel.org> (raw)
In-Reply-To: <20260227-master-v1-1-8d91b9407fdb@oss.qualcomm.com>


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



      parent reply	other threads:[~2026-05-19 10:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-27 12:15 Xiangxu Yin via B4 Relay
2026-02-27 16:50 ` Konrad Dybcio
2026-02-27 19:50 ` Dmitry Baryshkov
2026-05-19 10:43 ` Vinod Koul [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=177918741546.257287.197313135336339918.b4-ty@kernel.org \
    --to=vkoul@kernel.org \
    --cc=dan.carpenter@linaro.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=fange.zhang@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=li.liu@oss.qualcomm.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=neil.armstrong@linaro.org \
    --cc=tingwei.zhang@oss.qualcomm.com \
    --cc=xiangxu.yin@oss.qualcomm.com \
    --cc=yongxing.mou@oss.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®