linux/drivers/nfc/microread
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
..
i2c.c nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
Kconfig
Makefile
mei.c nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
microread.c NFC: microread: Potential overflows in microread_target_discovered() 2014-10-05 14:52:18 -07:00
microread.h nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00