android_kernel_samsung_msm8976/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
Makefile
i2c.c
mei.c
microread.c NFC: microread: Potential overflows in microread_target_discovered() 2014-10-05 14:54:12 -07:00
microread.h