diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-09-01 20:27:29 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-09-05 00:57:32 +0200 |
commit | d07f1e8600ccb885c8f4143402b8912f7d827bcb (patch) | |
tree | 424bdab667951fb952c2cfe1951a1b028d1d0b59 /lib/test-string_helpers.c | |
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>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions