[dpdk-dev] [PATCH] event/dlb: fix potential NULL dereference

Mcnamara, John john.mcnamara at intel.com
Fri Nov 20 11:03:29 CET 2020



> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Timothy McDaniel
> Sent: Monday, November 16, 2020 5:41 PM
> Cc: dev at dpdk.org; Carrillo, Erik G <erik.g.carrillo at intel.com>; Eads, Gage
> <gage.eads at intel.com>; Van Haaren, Harry <harry.van.haaren at intel.com>;
> jerinj at marvell.com; thomas at monjalon.net
> Subject: [dpdk-dev] [PATCH] event/dlb: fix potential NULL dereference
> 
> Add NULL check before using t->mbuf_pool.
> 
> Coverity issue: 363719
> Fixes: 83326 ("event/dlb: add PMD self-tests")

This is similar to a fix on the dlb2 driver which fixed a similar Coverity defect (according to the last Coverity run). So, on that basis, I'll ack this patch.

Jerin, could you try merge this for RC5 if possible.


Acked-by: John McNamara <john.mcnamara at intel.com>




More information about the dev mailing list