[PATCH 5.2 17/66] nfc: fix potential illegal memory access