Re: [PATCH v2] thunderbolt: property: fix a missing check of kzalloc

From: Mika Westerberg
Date: Thu Mar 28 2019 - 04:32:49 EST

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@xxxxxxx>
> Reviewed-by: Mukesh Ojha <mojha@xxxxxxxxxxxxxx>

Applied, thanks!