DPDK patches and discussions
 help / color / mirror / Atom feed
From: Richael Zhuang <Richael.Zhuang@arm.com>
To: "thomas@monjalon.net" <thomas@monjalon.net>
Cc: "dev@dpdk.org" <dev@dpdk.org>, David Hunt <david.hunt@intel.com>,
	nd <nd@arm.com>, nd <nd@arm.com>
Subject: Re: [dpdk-dev] [PATCH v1 1/1] power: check freq count before filling the freqs array
Date: Fri, 23 Jul 2021 02:07:35 +0000	[thread overview]
Message-ID: <AM8PR08MB57960941AC63B1329C59F17192E59@AM8PR08MB5796.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <1655433.a82RJ7d3Ap@thomas>



> -----Original Message-----
> From: Thomas Monjalon <thomas@monjalon.net>
> Sent: Friday, July 23, 2021 3:43 AM
> To: Richael Zhuang <Richael.Zhuang@arm.com>
> Cc: dev@dpdk.org; David Hunt <david.hunt@intel.com>
> Subject: Re: [dpdk-dev] [PATCH v1 1/1] power: check freq count before filling
> the freqs array
> 
> 21/07/2021 11:27, Richael Zhuang:
> > The freqs array size is RTE_MAX_LCORE_FREQS. Before filling the array
> > with num_freqs elements, restrict the total num to
> > RTE_MAX_LCORE_FREQS. This fix aims to fix the coverity scan issue
> > like:
> > Overrunning array "pi->freqs" of 256 bytes by passing it to a function
> > which accesses it at byte offset 464.
> >
> > Coverity issue: 371913
> >
> > Signed-off-by: Richael Zhuang <richael.zhuang@arm.com>
> 
> Please provide "Fixes:" lines.
> 
> 
Thanks, I will add it.


  reply	other threads:[~2021-07-23  2:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-21  9:27 [dpdk-dev] [PATCH v1 0/1] " Richael Zhuang
2021-07-21  9:27 ` [dpdk-dev] [PATCH v1 1/1] " Richael Zhuang
2021-07-22 19:43   ` Thomas Monjalon
2021-07-23  2:07     ` Richael Zhuang [this message]
2021-07-23  2:13   ` [dpdk-dev] [PATCH v2 0/1] power: check freq count before filling the freqs Richael Zhuang
2021-07-23  2:13     ` [dpdk-dev] [PATCH v2 1/1] power: check freq count before filling the freqs array Richael Zhuang
2021-07-23  2:22       ` [dpdk-dev] [PATCH v3 0/1] " Richael Zhuang
2021-07-23  2:22         ` [dpdk-dev] [PATCH v3 1/1] " Richael Zhuang
2021-07-23  8:37           ` David Hunt
2021-07-24  8:11             ` [dpdk-dev] [dpdk-stable] " Thomas Monjalon

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=AM8PR08MB57960941AC63B1329C59F17192E59@AM8PR08MB5796.eurprd08.prod.outlook.com \
    --to=richael.zhuang@arm.com \
    --cc=david.hunt@intel.com \
    --cc=dev@dpdk.org \
    --cc=nd@arm.com \
    --cc=thomas@monjalon.net \
    /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).