[dpdk-dev] [PATCH] hash: fix dereference before null check

Wang, Yipeng1 yipeng1.wang at intel.com
Wed Oct 28 17:25:00 CET 2020


> -----Original Message-----
> From: wangyunjian <wangyunjian at huawei.com>
> Sent: Tuesday, October 27, 2020 5:51 AM
> To: dev at dpdk.org; Wang, Yipeng1 <yipeng1.wang at intel.com>; Gobriel, Sameh
> <sameh.gobriel at intel.com>
> Cc: Richardson, Bruce <bruce.richardson at intel.com>;
> dharmik.thakkar at arm.com; jerry.lilijun at huawei.com; xudingke at huawei.com;
> Yunjian Wang <wangyunjian at huawei.com>; stable at dpdk.org
> Subject: [dpdk-dev] [PATCH] hash: fix dereference before null check
> 
> From: Yunjian Wang <wangyunjian at huawei.com>
> 
> Coverity flags that 'h' variable is used before it's checked for NULL. This patch
> fixes this issue.
> 
> Coverity issue: 363625
> Fixes: 769b2de7fb52 ("hash: implement RCU resources reclamation")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
 [Wang, Yipeng] 
Thanks for the fix!

Acked-by: Yipeng Wang <yipeng1.wang at intel.com>




More information about the dev mailing list