android_kernel_samsung_msm8976/drivers/nfc
Dan Carpenter ff75102058 NFC: microread: Potential overflows in microread_target_discovered()
commit d07f1e8600ccb885c8f4143402b8912f7d827bcb upstream.

Smatch says that skb->data is untrusted so we need to check to make sure
that the memcpy() doesn't overflow.

Fixes: cfad1ba871 ('NFC: Initial support for Inside Secure microread')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-10-05 14:54:12 -07:00
..
microread NFC: microread: Potential overflows in microread_target_discovered() 2014-10-05 14:54:12 -07:00
pn544 NFC: mei: Do not disable MEI devices from their remove routine 2013-05-21 10:48:41 +02:00
Kconfig NFC: mei_phy depends on INTEL_MEI 2013-05-21 10:48:40 +02:00
Makefile NFC: mei: Add a common mei bus API for NFC drivers 2013-04-16 00:39:31 +02:00
mei_phy.c NFC: mei_phy: Register event callback when enabling the device 2013-05-21 10:48:40 +02:00
mei_phy.h NFC: mei: Add a common mei bus API for NFC drivers 2013-04-16 00:39:31 +02:00
nfcwilink.c
pn533.c NFC: pn533: Turn radio on and off when bringing the device up and down 2013-04-11 16:29:11 +02:00