[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170120.110948.494522496195320383.davem@davemloft.net>
Date: Fri, 20 Jan 2017 11:09:48 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, david.lebrun@...ouvain.be
Subject: Re: [PATCH net] ipv6: seg6_genl_set_tunsrc() must check kmemdup()
return value
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 20 Jan 2017 07:57:42 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> seg6_genl_get_tunsrc() and set_tun_src() do not handle tun_src being
> possibly NULL, so we must check kmemdup() return value and abort if
> it is NULL
>
> Fixes: 915d7e5e5930 ("ipv6: sr: add code base for control plane support of SR-IPv6")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks Eric.
Powered by blists - more mailing lists