summaryrefslogtreecommitdiff
path: root/include/net/nfc/digital.h
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2014-01-04 06:23:35 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2014-01-04 06:32:27 +0400
commitea87a5efa9efa84cd48fbf7a969d951b32c9e5e4 (patch)
tree1eadf018fa8ada1fc741cca9fa0931ac70fefd54 /include/net/nfc/digital.h
parenta434c2407467a76c0e1416c45f7b31cfbe1b6b3b (diff)
downloadlinux-ea87a5efa9efa84cd48fbf7a969d951b32c9e5e4.tar.xz
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 <arthur@advancedtelematic.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net/nfc/digital.h')
0 files changed, 0 insertions, 0 deletions