linux/drivers/nfc
Sudip Mukherjee 8335b312c7 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>
2017-08-06 19:19:40 -07:00
..
fdp nfc: fdp: fix NULL pointer dereference 2017-08-06 19:19:40 -07:00
microread char/misc drivers for 4.4-rc1 2015-11-04 22:15:15 -08:00
nfcmrvl NFC: nfcmrvl: fix firmware-management initialisation 2017-07-27 15:06:03 -07:00
nxp-nci
pn544 char/misc drivers for 4.4-rc1 2015-11-04 22:15:15 -08:00
s3fwrn5
st-nci spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
st21nfca
Kconfig
Makefile
mei_phy.c mei: bus: fix received data size check in NFC fixup 2016-11-18 10:48:36 +01:00
mei_phy.h
nfcsim.c
nfcwilink.c
pn533.c
port100.c
trf7970a.c spi: Updates for v4.4 2015-11-05 13:15:12 -08:00