commit | d07f1e8600ccb885c8f4143402b8912f7d827bcb | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Sep 01 20:27:29 2014 +0300 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Fri Sep 05 00:57:32 2014 +0200 |
tree | 424bdab667951fb952c2cfe1951a1b028d1d0b59 | |
parent | 1bd3fa7b8c9b2936c16c6e6452f9cc991c405872 [diff] |
NFC: microread: Potential overflows in microread_target_discovered() Smatch says that skb->data is untrusted so we need to check to make sure that the memcpy() doesn't overflow. Fixes: cfad1ba87150 ('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>