On 8/31/21 21:14, Aaron Conole wrote: > 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]>
Thanks! Applied and backported down to 2.12. Best regards, Ilya Maximets. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
