[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190322102508.GS3622@lahna.fi.intel.com>
Date: Fri, 22 Mar 2019 12:25:08 +0200
From: Mika Westerberg <mika.westerberg@...ux.intel.com>
To: Aditya Pakki <pakki001@....edu>
Cc: kjlu@....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 v2] thunderbolt: Fix to check for kmemdup failure
On Wed, Mar 20, 2019 at 10:57:54AM -0500, Aditya Pakki wrote:
> Memory allocated via kmemdup might fail and return a NULL pointer.
> This patch adds a check on the return value of kmemdup and passes the
> error upstream.
>
> Signed-off-by: Aditya Pakki <pakki001@....edu>
Applied, thanks!
Powered by blists - more mailing lists