diff options
author | 2015-12-17 08:47:02 -0700 | |
---|---|---|
committer | 2015-12-21 13:31:31 -0800 | |
commit | fadf3a44e974b030e7145218ad1ab25e3ef91738 (patch) | |
tree | 284865baafd4c8bb1c9d8a5822b4d117536198d6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Drivers: hv: vmbus: Treat Fibre Channel devices as performance critical (diff) | |
download | linux-dev-fadf3a44e974b030e7145218ad1ab25e3ef91738.tar.xz linux-dev-fadf3a44e974b030e7145218ad1ab25e3ef91738.zip |
coresight: checking for NULL string in coresight_name_match()
Connection child names associated to ports can sometimes be NULL,
which is the case when booting a system on QEMU or when the Coresight
power domain isn't switched on.
This patch is adding a check to make sure a NULL string isn't fed
to strcmp(), something that avoid crashing the system.
Cc: <stable@vger.kernel.org> # v3.18+
Reported-by: Tyler Baker <tyler.baker@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions