[PATCH v2] net/memif: remove pointer deference before null check

Ferruh Yigit ferruh.yigit at intel.com
Wed Feb 9 14:56:59 CET 2022


On 2/9/2022 7:39 AM, Weiguo Li wrote:
> There are duplicates of assignment here, the one before null check
> may cause a null pointer deference, so remove the previous one.
> 
> Fixes: 09c7e63a71f9 ("net/memif: introduce memory interface PMD")
> 

Cc: stable at dpdk.org

> Signed-off-by: Weiguo Li <liwg06 at foxmail.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>


More information about the stable mailing list