[PATCH 5.1 17/62] nfc: fix potential illegal memory access