patches for DPDK stable branches
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: Zhihong Wang <wangzhihong.wzh@bytedance.com>
Cc: "Ananyev, Konstantin" <konstantin.ananyev@intel.com>,
	"Honnappa Nagarahalli" <honnappa.nagarahalli@arm.com>,
	dev <dev@dpdk.org>, "dpdk stable" <stable@dpdk.org>,
	liangma@liangbit.com, "Morten Brørup" <mb@smartsharesystems.com>
Subject: Re: [PATCH] ring: fix overflow in memory size calcuation
Date: Sat, 5 Feb 2022 18:21:29 +0100	[thread overview]
Message-ID: <CAJFAV8yHSsXXOGUNqPyKke6h0-vf0xRGXO6cn2T49L6oS+HeDQ@mail.gmail.com> (raw)
In-Reply-To: <20211214033016.29927-1-wangzhihong.wzh@bytedance.com>

On Tue, Dec 14, 2021 at 4:30 AM Zhihong Wang
<wangzhihong.wzh@bytedance.com> wrote:
>
> Parameters count and esize are both unsigned int, and their product can
> legally exceed unsigned int and lead to runtime access violation.
>
> Fixes: cc4b218790f6 ("ring: support configurable element size")
> Cc: stable@dpdk.org
>
> Signed-off-by: Zhihong Wang <wangzhihong.wzh@bytedance.com>

Reviewed-by: Liang Ma <liangma@liangbit.com>
Reviewed-by: Morten Brørup <mb@smartsharesystems.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

Applied, thanks.


-- 
David Marchand


      parent reply	other threads:[~2022-02-05 17:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-14  3:30 Zhihong Wang
2021-12-15  8:01 ` Liang Ma
2021-12-15  8:32   ` Morten Brørup
2021-12-15 13:18 ` Ananyev, Konstantin
2022-02-05 17:21 ` David Marchand [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=CAJFAV8yHSsXXOGUNqPyKke6h0-vf0xRGXO6cn2T49L6oS+HeDQ@mail.gmail.com \
    --to=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=honnappa.nagarahalli@arm.com \
    --cc=konstantin.ananyev@intel.com \
    --cc=liangma@liangbit.com \
    --cc=mb@smartsharesystems.com \
    --cc=stable@dpdk.org \
    --cc=wangzhihong.wzh@bytedance.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;
as well as URLs for NNTP newsgroup(s).