Yunjian Wang <[email protected]> writes:

> This patch fixes (dereference after null check) coverity issue.
> We should add null check of 'nsh_mask' to avoid passing NULL pointer
> to memcpy() because the 'nsh_mask' maybe null.
>
> Addresses-Coverity: ("Dereference after null check")
> Fixes: 81fdabb94dd7 ("nsh: fix nested mask for OVS_KEY_ATTR_NSH")
> Cc: Yi Yang <[email protected]>
> Signed-off-by: Yunjian Wang <[email protected]>
> ---

Good catch.

Acked-by: Aaron Conole <[email protected]>

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to