summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2015-12-17 08:47:02 -0700
committerMathieu Poirier <mathieu.poirier@linaro.org>2016-06-01 15:29:58 -0600
commitb746b9cf2f52aa7a572b8be2b1718966b65f14a1 (patch)
treeca3e7a90389db4d6eb8d2e2df1b9d858489515ab /tools/perf/scripts/python/netdev-times.py
parente05ed3268032a6c0dc677558fb82afb046dd638f (diff)
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> (cherry picked from commit fadf3a44e974b030e7145218ad1ab25e3ef91738)
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions