aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChen Zhou <[email protected]>2020-04-01 11:00:17 +0800
committerGreg Kroah-Hartman <[email protected]>2020-04-13 08:55:26 +0200
commit9bb086e5ba9495ac150fbbcc5c8c2bccc06261dd (patch)
tree8f75b61b57a4e8854db96190ad7d9a372718d1fe /tools/perf/scripts/python/stackcollapse.py
parentc42f736332a43e7cec61f582909036b5addc707a (diff)
staging: greybus: fix a missing-check bug in gb_lights_light_config()
In gb_lights_light_config(), 'light->name' is allocated by kstrndup(). It returns NULL when fails, add check for it. Signed-off-by: Chen Zhou <[email protected]> Acked-by: Rui Miguel Silva <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions