linux/drivers/hwtracing/coresight
Mathieu Poirier fadf3a44e9 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>
2015-12-21 13:31:31 -08:00
..
coresight-etb10.c coresight: etb: retrieve and handle atclk 2015-05-24 11:12:08 -07:00
coresight-etm3x.c coresight: etm3x: making error message unambiguous 2015-10-07 17:54:09 +01:00
coresight-etm4x.c Coresight: ETMv4: Prevent TRCRSCTLR0&1 from being accessed 2015-10-07 17:54:09 +01:00
coresight-etm4x.h coresight-etm4x: Support context-ID tracing when PID namespace is enabled 2015-08-05 13:30:15 -07:00
coresight-etm-cp14.c
coresight-etm.h coresight-etm3x: Support context-ID tracing when PID namespace is enabled 2015-08-05 13:30:15 -07:00
coresight-funnel.c coresight: funnel: retrieve and handle atclk 2015-05-24 11:12:08 -07:00
coresight-priv.h
coresight-replicator-qcom.c drivers/hwtracing: fix coresight-replicator-qcom implicit <module.h> usage 2015-06-08 13:46:43 -07:00
coresight-replicator.c coresight: replicator: Use builtin_platform_driver() 2015-08-05 13:30:15 -07:00
coresight-tmc.c coresight: tmc: let runtime PM handle core clock 2015-05-24 11:12:08 -07:00
coresight-tpiu.c coresight: tpiu: retrieve and handle atclk 2015-05-24 11:12:08 -07:00
coresight.c coresight: checking for NULL string in coresight_name_match() 2015-12-21 13:31:31 -08:00
Kconfig coresight: replicator: Add Qualcomm CoreSight Replicator driver 2015-05-24 11:12:08 -07:00
Makefile coresight: replicator: Add Qualcomm CoreSight Replicator driver 2015-05-24 11:12:08 -07:00
of_coresight.c coresight: fix typo in of_coresight.c 2015-05-24 11:12:08 -07:00