The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Manivannan Sadhasivam <mani@kernel.org>
To: Frank Li <Frank.Li@nxp.com>, Dan Carpenter <dan.carpenter@linaro.org>
Cc: "Manivannan Sadhasivam" <mani@kernel.org>,
	"Krzysztof Wilczyński" <kwilczynski@kernel.org>,
	"Kishon Vijay Abraham I" <kishon@kernel.org>,
	"Arnd Bergmann" <arnd@arndb.de>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Bjorn Helgaas" <bhelgaas@google.com>,
	linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
	kernel-janitors@vger.kernel.org
Subject: Re: [PATCH v2 next] misc: pci_endpoint_test: Fix array underflow in pci_endpoint_test_ioctl()
Date: Mon, 11 Aug 2025 16:27:24 +0530	[thread overview]
Message-ID: <175490983721.13838.10042092672738483937.b4-ty@kernel.org> (raw)
In-Reply-To: <aIzzZ4vc6ZrmM9rI@suswa>


On Fri, 01 Aug 2025 20:03:35 +0300, Dan Carpenter wrote:
> Commit eefb83790a0d ("misc: pci_endpoint_test: Add doorbell test case")
> added NO_BAR (-1) to the pci_barno enum which, in practical terms,
> changes the enum from an unsigned int to a signed int.  If the user
> passes a negative number in pci_endpoint_test_ioctl() then it results in
> an array underflow in pci_endpoint_test_bar().
> 
> 
> [...]

Applied, thanks!

[1/1] misc: pci_endpoint_test: Fix array underflow in pci_endpoint_test_ioctl()
      (no commit info)

Best regards,
-- 
Manivannan Sadhasivam <mani@kernel.org>

      reply	other threads:[~2025-08-11 10:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-01 17:03 [PATCH v2 next] misc: pci_endpoint_test: Fix array underflow in pci_endpoint_test_ioctl() Dan Carpenter
2025-08-11 10:57 ` Manivannan Sadhasivam [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=175490983721.13838.10042092672738483937.b4-ty@kernel.org \
    --to=mani@kernel.org \
    --cc=Frank.Li@nxp.com \
    --cc=arnd@arndb.de \
    --cc=bhelgaas@google.com \
    --cc=dan.carpenter@linaro.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=kishon@kernel.org \
    --cc=kwilczynski@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    /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