linux/drivers/nfc
Dan Carpenter 621f496ffa NFC: microread: Potential overflows in microread_target_discovered()
commit d07f1e8600 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:52:18 -07:00
..
microread NFC: microread: Potential overflows in microread_target_discovered() 2014-10-05 14:52:18 -07:00
nfcmrvl NFC: nfcmrvl: Fix possible memory leak issue 2014-01-09 01:27:20 +01:00
pn544 NFC: pn544: Refactor hw_config values 2014-01-04 03:32:27 +01:00
Kconfig NFC: nfcmrvl: Initial commit for Marvell NFC driver 2014-01-07 01:32:40 +01:00
Makefile NFC: nfcmrvl: Initial commit for Marvell NFC driver 2014-01-07 01:32:40 +01:00
mei_phy.c NFC: mei_phy: Using kfree_skb() instead of kfree() 2014-01-04 03:32:26 +01:00
mei_phy.h NFC: mei: Add a common mei bus API for NFC drivers 2013-04-16 00:39:31 +02:00
nfcsim.c NFC: Convert nfc_dev_info and nfc_dev_err to nfc_<level> 2013-09-25 01:35:39 +02:00
nfcwilink.c nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
pn533.c NFC: pn533: Frame is invalid if ccid.datalen is 0 2014-01-04 03:32:27 +01:00
port100.c NFC: port100: Fix device leak 2014-01-05 00:49:00 +01:00