From: Dan Carpenter Date: Mon, 1 Sep 2014 17:27:29 +0000 (+0300) Subject: NFC: microread: Potential overflows in microread_target_discovered() X-Git-Tag: fixes-for-v3.18-merge-window~72^2~1^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d07f1e8600ccb885c8f4143402b8912f7d827bcb;p=pandora-kernel.git 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 Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed