lkml.org 
[lkml]   [2019]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] mdesc: fix a missing-check bug in get_vdev_port_node_info()
From
From: Gen Zhang <blackgod016574@gmail.com>
Date: Fri, 31 May 2019 09:24:18 +0800

> In get_vdev_port_node_info(), 'node_info->vdev_port.name' is allcoated
> by kstrdup_const(), and it returns NULL when fails. So
> 'node_info->vdev_port.name' should be checked.
>
> Signed-off-by: Gen Zhang <blackgod016574@gmail.com>

Applied, thanks.

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