From: Samuel Ortiz Date: Sat, 4 Jan 2014 02:23:35 +0000 (+0100) Subject: NFC: pn533: Frame is invalid if ccid.datalen is 0 X-Git-Tag: v3.14-rc1~94^2~113^2^2~38^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea87a5efa9efa84cd48fbf7a969d951b32c9e5e4;p=pandora-kernel.git NFC: pn533: Frame is invalid if ccid.datalen is 0 Some ACR122 firmwares seem to send 0 length data frames. Before using that length as a data index, we check that it's not 0. If it is we report the frame as being invalid. Reported-by: Arthur Taylor Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed