[PATCH v1] eventdev/eth_rx: fix null pointer dereference

Jerin Jacob jerinjacobk at gmail.com
Mon Aug 28 17:49:27 CEST 2023


On Fri, Aug 25, 2023 at 7:17 PM Naga Harish K, S V
<s.v.naga.harish.k at intel.com> wrote:
>
>
>
> > -----Original Message-----
> > From: Kundapura, Ganapati <ganapati.kundapura at intel.com>
> > Sent: Thursday, August 24, 2023 1:54 PM
> > To: jerinj at marvell.com; Naga Harish K, S V <s.v.naga.harish.k at intel.com>;
> > dev at dpdk.org
> > Cc: Jayatheerthan, Jay <jay.jayatheerthan at intel.com>; Gujjar, Abhinandan S
> > <abhinandan.gujjar at intel.com>
> > Subject: [PATCH v1] eventdev/eth_rx: fix null pointer dereference
> >
> > 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")

Squashed to this patch to "8be6c94d6d90 ("eventdev/eth_rx: add new
adapter create API")" and rebase the tree to latest main.


More information about the dev mailing list