From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: Andy Pei <andy.pei@intel.com>, dev@dpdk.org
Cc: chenbo.xia@intel.com, xiao.w.wang@intel.com
Subject: Re: [PATCH v2] vdpa/ifc/base: fix null pointer dereference
Date: Fri, 8 Jul 2022 11:07:06 +0200 [thread overview]
Message-ID: <4d1954e9-2fa7-47bb-9dc3-bd19268b1684@redhat.com> (raw)
In-Reply-To: <1657271456-86994-1-git-send-email-andy.pei@intel.com>
On 7/8/22 11:10, Andy Pei wrote:
> Fix null pointer dereference reported in coverity scan.
> Output some log information when lm_cfg is null.
> Make sure lm_cfg is not null before operate on lm_cfg.
>
> Coverity issue: 378882
> Fixes: d7fe5a2861e7 ("net/ifc: support live migration")
>
> Signed-off-by: Andy Pei <andy.pei@intel.com>
> ---
> drivers/vdpa/ifc/base/ifcvf.c | 31 ++++++++++++++++++++-----------
> drivers/vdpa/ifc/base/ifcvf_osdep.h | 1 +
> 2 files changed, 21 insertions(+), 11 deletions(-)
>
Thanks, but I already applied v1 locally and did the change.
Rejecting this v2 in patchwork.
Thanks,
Maxime
prev parent reply other threads:[~2022-07-08 9:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-08 9:10 Andy Pei
2022-07-08 9:07 ` Maxime Coquelin [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=4d1954e9-2fa7-47bb-9dc3-bd19268b1684@redhat.com \
--to=maxime.coquelin@redhat.com \
--cc=andy.pei@intel.com \
--cc=chenbo.xia@intel.com \
--cc=dev@dpdk.org \
--cc=xiao.w.wang@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 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).