[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190315091203.GF3622@lahna.fi.intel.com>
Date: Fri, 15 Mar 2019 11:12:03 +0200
From: Mika Westerberg <mika.westerberg@...ux.intel.com>
To: Kangjie Lu <kjlu@....edu>
Cc: pakki001@....edu, Andreas Noever <andreas.noever@...il.com>,
Michael Jamet <michael.jamet@...el.com>,
Yehezkel Bernat <YehezkelShB@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] thunderbolt: fix a missing check of kmemdup
On Thu, Mar 14, 2019 at 01:55:31AM -0500, Kangjie Lu wrote:
> kmemdup may fail and return NULL. The fix adds a check and returns
> NULL in case it fails to avoid NULL pointer dereferecen.
>
> Signed-off-by: Kangjie Lu <kjlu@....edu>
Applied, thanks!
Powered by blists - more mailing lists