Messages in this thread | | | Date | Mon, 24 Apr 2017 15:51:40 -0400 (EDT) | Subject | Re: [PATCH 1/1] lwtunnel: check return value of nla_nest_start | From | David Miller <> |
| |
From: Pan Bian <bianpan2016@163.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@163.com>
Applied.
| |