Linux I2C development
 help / color / mirror / Atom feed
From: Andi Shyti <andi.shyti@kernel.org>
To: Triet Hoang <triet.hoang.dev@gmail.com>
Cc: bence98@sch.bme.hu, linux-i2c@vger.kernel.org,
	 linux-kernel@vger.kernel.org,
	Markus Elfring <Markus.Elfring@web.de>
Subject: Re: [PATCH] i2c: cp2615: Validate read length before copying
Date: Fri, 21 Aug 2026 10:43:46 +0200	[thread overview]
Message-ID: <aogN_ikDeI_OmSyE@zenone.zhora.eu> (raw)
In-Reply-To: <20260820154041.5911-1-triet.hoang.dev@gmail.com>

Hi Triet,

On Thu, Aug 20, 2026 at 03:40:41PM +0000, Triet Hoang wrote:
> On Thu, 20 Aug 2026 10:28:22 -0500, Andi wrote
> > have you experienced any issue yourself or are you just
> > speculating based on the code?
> 
> Thanks for replying. I just speculating based on the code.

I'm sorry, but I'm going to drop this as I don't see it as
necessary.

As Markus pointed out, if this failure could actually happen, it
would result in a driver failure and the patch should then be
treated as a bug fix. However, I don't want to fix hypothetical
bugs based on speculation or an AI-generated guess.

Thanks,
Andi

      reply	other threads:[~2026-08-21  8:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-18 12:47 [PATCH] i2c: cp2615: Validate read length before copying Triet Hoang
2026-08-19  8:16 ` Markus Elfring
2026-08-20 11:57 ` Andi Shyti
2026-08-20 15:40   ` Triet Hoang
2026-08-21  8:43     ` Andi Shyti [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=aogN_ikDeI_OmSyE@zenone.zhora.eu \
    --to=andi.shyti@kernel.org \
    --cc=Markus.Elfring@web.de \
    --cc=bence98@sch.bme.hu \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=triet.hoang.dev@gmail.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