[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 05 May 2019 00:52:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: pshelar@....org, netdev@...r.kernel.org, dev@...nvswitch.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] openvswitch: check for null pointer return from
nla_nest_start_noflag
From: Colin King <colin.king@...onical.com>
Date: Wed, 1 May 2019 14:41:58 +0100
> From: Colin Ian King <colin.king@...onical.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@...onical.com>
Applied, thank you.
Powered by blists - more mailing lists