DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jerin Jacob <jerinjacobk@gmail.com>
To: Ganapati Kundapura <ganapati.kundapura@intel.com>
Cc: jerinj@marvell.com, s.v.naga.harish.k@intel.com, dev@dpdk.org,
	 jay.jayatheerthan@intel.com, abhinandan.gujjar@intel.com
Subject: Re: [PATCH v1] eventdev/eth_rx: fix null pointer dereference
Date: Fri, 25 Aug 2023 12:34:50 +0530	[thread overview]
Message-ID: <CALBAE1Nawr3=PRNUcuG82FTzVTPYmZtS-2xjeZi5V=wYhurC+A@mail.gmail.com> (raw)
In-Reply-To: <20230824082331.713236-1-ganapati.kundapura@intel.com>

On Thu, Aug 24, 2023 at 1:53 PM Ganapati Kundapura
<ganapati.kundapura@intel.com> wrote:
>
> On passing NULL as a last parameter to xxx_create_ext_with_params(),
> rxa_config_params_validate() uses default values and dereferences
> NULL pointer leading to segmentation fault.
>
> Fixed by returning after using default values without dereferencing
> NULL pointer.
>
> Fixes: 8be6c94d6d90 ("eventdev/eth_rx: add new adapter create API")
>
> Signed-off-by: Ganapati Kundapura <ganapati.kundapura@intel.com>

Waiting for Review/Ack from @Naga Harish K, S V  to merge

  reply	other threads:[~2023-08-25  7:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-24  8:23 Ganapati Kundapura
2023-08-25  7:04 ` Jerin Jacob [this message]
2023-08-25 13:46 ` Naga Harish K, S V
2023-08-28 15:49   ` Jerin Jacob

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='CALBAE1Nawr3=PRNUcuG82FTzVTPYmZtS-2xjeZi5V=wYhurC+A@mail.gmail.com' \
    --to=jerinjacobk@gmail.com \
    --cc=abhinandan.gujjar@intel.com \
    --cc=dev@dpdk.org \
    --cc=ganapati.kundapura@intel.com \
    --cc=jay.jayatheerthan@intel.com \
    --cc=jerinj@marvell.com \
    --cc=s.v.naga.harish.k@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).