Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ea87a5ef authored by Samuel Ortiz's avatar Samuel Ortiz
Browse files

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: default avatarArthur Taylor <arthur@advancedtelematic.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent a434c240
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment