[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170424.155140.436046246227486722.davem@davemloft.net>
Date: Mon, 24 Apr 2017 15:51:40 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: bianpan2016@....com
Cc: dsa@...ulusnetworks.com, roopa@...ulusnetworks.com, ast@...nel.org,
david.lebrun@...ouvain.be, tom@...bertland.com,
rshearma@...cade.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] lwtunnel: check return value of nla_nest_start
From: Pan Bian <bianpan2016@....com>
Date: Sun, 23 Apr 2017 14:28:37 +0800
> Function nla_nest_start() may return a NULL pointer on error. However,
> in function lwtunnel_fill_encap(), the return value of nla_nest_start()
> is not validated before it is used. This patch checks the return value
> of nla_nest_start() against NULL.
>
> Signed-off-by: Pan Bian <bianpan2016@....com>
Applied.
Powered by blists - more mailing lists