diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-09-01 19:27:29 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-09-05 00:57:32 +0200 |
commit | d07f1e8600ccb885c8f4143402b8912f7d827bcb (patch) | |
tree | 424bdab667951fb952c2cfe1951a1b028d1d0b59 /drivers/nfc/st21nfcb | |
parent | Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlw... (diff) | |
download | linux-d07f1e8600ccb885c8f4143402b8912f7d827bcb.tar.xz linux-d07f1e8600ccb885c8f4143402b8912f7d827bcb.zip |
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 'drivers/nfc/st21nfcb')
0 files changed, 0 insertions, 0 deletions