lkml.org 
[lkml]   [2019]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@umn.edu>
> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>

Applied, thanks!

\
 
 \ /
  Last update: 2019-03-28 09:34    [W:0.037 / U:1.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site