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

2019-05-01 Thread Colin King
From: Colin Ian King 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

[ovs-dev] [PATCH] openvswitch: fix spelling mistake "execeeds" -> "exceeds"

2018-11-27 Thread Colin King
From: Colin Ian King There is a spelling mistake in a net_warn_ratelimited message, fix this. Signed-off-by: Colin Ian King --- net/openvswitch/conntrack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/openvswitch/conntrack.c b/net/openvswitch/conntrack.c index

[ovs-dev] [PATCH] openvswitch: add null pointer check on upcall

2017-11-09 Thread Colin King
From: Colin Ian King upcall may be assigned a NULL pointer as genlmsg_put can potentially return a NULL. Add a null check to avoid a null pointer dereference on upcall. Detected by CoverityScan, CID#728404 ("Dereference null return value") Fixes: commit ccb1352e76cf