[dpdk-stable] [PATCH] net/ice/base: fix null pointer dereferences for parser

Zhang, Qi Z qi.z.zhang at intel.com
Wed Oct 13 12:29:11 CEST 2021



> -----Original Message-----
> From: Guo, Junfeng <junfeng.guo at intel.com>
> Sent: Wednesday, October 13, 2021 6:35 PM
> To: Zhang, Qi Z <qi.z.zhang at intel.com>; Wu, Jingjing <jingjing.wu at intel.com>;
> Xing, Beilei <beilei.xing at intel.com>
> Cc: dev at dpdk.org; stable at dpdk.org; Yigit, Ferruh <ferruh.yigit at intel.com>;
> Guo, Junfeng <junfeng.guo at intel.com>
> Subject: [PATCH] net/ice/base: fix null pointer dereferences for parser
> 
> Null-checking "p" suggests that it may be null, but it has already been
> dereferenced on all paths leading to the check. Thus correct the code lines and
> remove the redundant line.
> 
> Fixes: c84f8aa2100c ("net/ice/base: add parser runtime skeleton")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Junfeng Guo <junfeng.guo at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi



More information about the stable mailing list