android_kernel_lge_bullhead/drivers/nfc/microread
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
..
Kconfig NFC: mei: Add a common mei bus API for NFC drivers 2013-04-16 00:39:31 +02:00
Makefile NFC: microread: Add MEI physical layer 2013-02-08 12:18:32 +01:00
i2c.c
mei.c NFC: mei: Do not disable MEI devices from their remove routine 2013-05-21 10:48:41 +02:00
microread.c NFC: microread: Potential overflows in microread_target_discovered() 2014-10-05 14:54:12 -07:00
microread.h