[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151104.215951.1250680297515353242.davem@davemloft.net>
Date: Wed, 04 Nov 2015 21:59:51 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: tklauser@...tanz.ch
Cc: netdev@...r.kernel.org, pshelar@...ira.com
Subject: Re: [PATCH net] tun_dst: Fix potential NULL dereference
From: Tobias Klauser <tklauser@...tanz.ch>
Date: Wed, 4 Nov 2015 13:49:49 +0100
> In tun_dst_unclone() the return value of skb_metadata_dst() is checked
> for being NULL after it is dereferenced. Fix this by moving the
> dereference after the NULL check.
>
> Found by the Coverity scanner (CID 1338068).
>
> Fixes: fc4099f17240 ("openvswitch: Fix egress tunnel info.")
> Cc: Pravin B Shelar <pshelar@...ira.com>
> Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists