diff options
author | Gen Zhang <blackgod016574@gmail.com> | 2019-05-31 04:24:18 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-03 08:15:35 +0300 |
commit | 80caf43549e7e41a695c6d1e11066286538b336f (patch) | |
tree | d023ca98d7b6ba61c8f347a0ac0446638fc89766 /arch/sparc/kernel/perf_event.c | |
parent | d3c976c14ad8af421134c428b0a89ff8dd3bd8f8 (diff) | |
download | linux-80caf43549e7e41a695c6d1e11066286538b336f.tar.xz |
mdesc: fix a missing-check bug in get_vdev_port_node_info()
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/perf_event.c')
0 files changed, 0 insertions, 0 deletions