From: Thomas Monjalon <thomas@monjalon.net>
To: "Jastrzebski, MichalX K" <michalx.k.jastrzebski@intel.com>,
"Kozak, KubaX" <kubax.kozak@intel.com>
Cc: dev@dpdk.org, "Van Haaren, Harry" <harry.van.haaren@intel.com>,
"Jain, Deepak K" <deepak.k.jain@intel.com>
Subject: Re: [PATCH] proc-info: wrong sizeof argument in malloc function
Date: Wed, 10 May 2017 18:50:39 +0200 [thread overview]
Message-ID: <2148319.Mp7d4XTZbQ@xps> (raw)
In-Reply-To: <E923DB57A917B54B9182A2E928D00FA612A36761@IRSMSX102.ger.corp.intel.com>
09/05/2017 10:44, Van Haaren, Harry:
> > From: Michal Jastrzebski <michalx.k.jastrzebski@intel.com>
> >
> > Coverity reported that an argument for sizeof was used improperly.
> > We should allocate memory for value size that pointer points to,
> > instead of pointer size itself.
> >
> > Coverity issue: 144523, 144521
> > Fixes: 7ac16a3660c0 ("app/proc-info: support xstats by ID and by name")
> >
> > Signed-off-by: Michal Jastrzebski <michalx.k.jastrzebski@intel.com>
>
>
> Please consider merging these in 17.05, this is an important fix for 32 bit systems.
>
> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
Applied, thanks
prev parent reply other threads:[~2017-05-10 16:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-09 5:23 [PATCH] proc-info: wrong sizeof argument in malloc function Kuba Kozak
2017-05-09 8:44 ` Van Haaren, Harry
2017-05-10 16:50 ` Thomas Monjalon [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=2148319.Mp7d4XTZbQ@xps \
--to=thomas@monjalon.net \
--cc=deepak.k.jain@intel.com \
--cc=dev@dpdk.org \
--cc=harry.van.haaren@intel.com \
--cc=kubax.kozak@intel.com \
--cc=michalx.k.jastrzebski@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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.