[ovs-dev] [PATCH][next] openvswitch: check for null pointer return from nla_nest_start_noflag

David Miller davem at davemloft.net
Sun May 5 07:52:22 UTC 2019


From: Colin King <colin.king at canonical.com>
Date: Wed,  1 May 2019 14:41:58 +0100

> From: Colin Ian King <colin.king at canonical.com>
> 
> The call to nla_nest_start_noflag can return null in the unlikely
> event that nla_put returns -EMSGSIZE.  Check for this condition to
> avoid a null pointer dereference on pointer nla_reply.
> 
> Addresses-Coverity: ("Dereference null return value")
> Fixes: 11efd5cb04a1 ("openvswitch: Support conntrack zone limit")
> Signed-off-by: Colin Ian King <colin.king at canonical.com>

Applied, thank you.


More information about the dev mailing list