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@umn.edu> > Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>