Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1629928

Re: [PATCH 1/1] lwtunnel: check return value of nla_nest_start

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] lwtunnel: check return value of nla_nest_start
Date 2017-04-24 22:00 +0200
Message-ID <tzSjo-2Lp-27@gated-at.bofh.it> (permalink)
References <tzjbX-4Ry-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/1] lwtunnel: check return value of nla_nest_start Pan Bian <bianpan2016@163.com> - 2017-04-23 08:30 +0200
  Re: [PATCH 1/1] lwtunnel: check return value of nla_nest_start David Miller <davem@davemloft.net> - 2017-04-24 22:00 +0200

csiph-web