[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190328083243.GV3622@lahna.fi.intel.com>
Date: Thu, 28 Mar 2019 10:32:43 +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 v2] thunderbolt: property: fix a missing check of kzalloc
On Mon, Mar 25, 2019 at 03:23:08PM -0500, Kangjie Lu wrote:
> No check is enforced for the return value of kzalloc,
> which may lead to NULL-pointer dereference.
>
> The patch fixes this issue.
>
> Signed-off-by: Kangjie Lu <kjlu@....edu>
> Reviewed-by: Mukesh Ojha <mojha@...eaurora.org>
Applied, thanks!
Powered by blists - more mailing lists