patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Jerin Jacob <jerinjacobk@gmail.com>
To: Timothy McDaniel <timothy.mcdaniel@intel.com>
Cc: Gage Eads <gage.eads@intel.com>, dpdk-dev <dev@dpdk.org>,
	 Erik Gabriel Carrillo <erik.g.carrillo@intel.com>,
	 "Van Haaren, Harry" <harry.van.haaren@intel.com>,
	Jerin Jacob <jerinj@marvell.com>,
	john.mcnamara@dpdk.org,  dpdk stable <stable@dpdk.org>
Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH 1/4] event/dlb: fix memory overrun Coverity warning
Date: Tue, 10 Nov 2020 21:06:00 +0530
Message-ID: <CALBAE1N_SU_UvL-xy6ExAcVWu=Eji-cSroicno8Cdod3FVCpAA@mail.gmail.com> (raw)
In-Reply-To: <1604611374-2072-3-git-send-email-timothy.mcdaniel@intel.com>

On Fri, Nov 6, 2020 at 2:51 AM Timothy McDaniel
<timothy.mcdaniel@intel.com> wrote:
>
> Fix memory corruption bug caused by passing address of a 16b value,
> instead of address of a 32b value.
>
> Fixes: 1998008 ("event/dlb: add eventdev probe")
> Coverity issue: 363715
> Cc: stable@dpdk.org
>
> Signed-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>

Series applied to dpdk-next-eventdev/for-main. Thanks.


> ---
>  drivers/event/dlb/pf/dlb_main.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/event/dlb/pf/dlb_main.c b/drivers/event/dlb/pf/dlb_main.c
> index 87ab8dd..17e671e 100644
> --- a/drivers/event/dlb/pf/dlb_main.c
> +++ b/drivers/event/dlb/pf/dlb_main.c
> @@ -250,13 +250,13 @@ dlb_pf_reset(struct dlb_dev *dlb_dev)
>  {
>         int msix_cap_offset, err_cap_offset, acs_cap_offset, wait_count;
>         uint16_t dev_ctl_word, dev_ctl2_word, lnk_word, lnk_word2;
> -       uint16_t rt_ctl_word, pri_reqs_dword,  pri_ctrl_word;
> +       uint16_t rt_ctl_word, pri_ctrl_word;
>         struct rte_pci_device *pdev = dlb_dev->pdev;
>         uint16_t devsta_busy_word, devctl_word;
>         int pcie_cap_offset, pri_cap_offset;
>         uint16_t slt_word, slt_word2, cmd;
>         int ret = 0, i = 0;
> -       uint32_t dword[16];
> +       uint32_t dword[16], pri_reqs_dword;
>         off_t off;
>
>         /* Save PCI config state */
> --
> 2.6.4
>

  reply	other threads:[~2020-11-10 15:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-05 21:22 [dpdk-stable] [PATCH 4/4] event/dlb2: add missing sections to documentation Timothy McDaniel
2020-11-05 21:22 ` [dpdk-stable] [PATCH 3/4] event/dlb2: fix dereference NULL pointer Coverity warning Timothy McDaniel
2020-11-05 21:22 ` [dpdk-stable] [PATCH 1/4] event/dlb: fix memory overrun " Timothy McDaniel
2020-11-10 15:36   ` Jerin Jacob [this message]
2020-11-10 15:44     ` [dpdk-stable] [dpdk-dev] " McDaniel, Timothy
2020-11-05 21:22 ` [dpdk-stable] [PATCH 2/4] event/dlb: fix no-effect " Timothy McDaniel

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='CALBAE1N_SU_UvL-xy6ExAcVWu=Eji-cSroicno8Cdod3FVCpAA@mail.gmail.com' \
    --to=jerinjacobk@gmail.com \
    --cc=dev@dpdk.org \
    --cc=erik.g.carrillo@intel.com \
    --cc=gage.eads@intel.com \
    --cc=harry.van.haaren@intel.com \
    --cc=jerinj@marvell.com \
    --cc=john.mcnamara@dpdk.org \
    --cc=stable@dpdk.org \
    --cc=timothy.mcdaniel@intel.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

patches for DPDK stable branches

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/stable/0 stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ https://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git