linux/drivers/nfc/fdp
Sudip Mukherjee 57154f0302 nfc: fdp: fix NULL pointer dereference
commit b6355fb3f5 upstream.

We are checking phy after dereferencing it. We can print the debug
information after checking it. If phy is NULL then we will get a good
stack trace to tell us that we are in this irq handler.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-08-06 18:59:42 -07:00
..
fdp.c NFC: fdp: Detect errors from fdp_nci_create_conn() 2016-07-04 12:17:56 +02:00
fdp.h NFC: Add Intel Fields Peak NFC solution driver 2015-10-25 20:29:16 +01:00
i2c.c nfc: fdp: fix NULL pointer dereference 2017-08-06 18:59:42 -07:00
Kconfig NFC: Add Intel Fields Peak NFC solution driver 2015-10-25 20:29:16 +01:00
Makefile NFC: Add Intel Fields Peak NFC solution driver 2015-10-25 20:29:16 +01:00