[ovs-dev] [PATCH v2] odp-util: Fix a null pointer dereference in odp_flow_format()

Aaron Conole aconole at redhat.com
Wed Sep 1 12:01:24 UTC 2021


Yunjian Wang <wangyunjian at huawei.com> writes:

> This patch fixes (dereference after null check) coverity issue.
> For this reason, we should add null check of 'mask' before calling
> nl_attr_find__() because the 'mask' maybe null.
>
> Addresses-Coverity: ("Dereference after null check")
> Fixes: e6cc0babc25d ("ovs-dpctl: Add mega flow support")
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
> ---

Thanks!

Acked-by: Aaron Conole <aconole at redhat.com>



More information about the dev mailing list