From bcdfa7e48265cd2ccf97d7b9fe87a378bdbbaee5 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Mon, 29 Apr 2019 01:08:59 +0200 Subject: [PATCH] Fix mifare_ultra_readblockEx, copy full 16b of mful block (was 14) --- armsrc/mifareutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/armsrc/mifareutil.c b/armsrc/mifareutil.c index 1de6d95f8..306f7a14e 100644 --- a/armsrc/mifareutil.c +++ b/armsrc/mifareutil.c @@ -358,7 +358,7 @@ int mifare_ultra_readblockEx(uint8_t blockNo, uint8_t *blockData) { return 3; } - memcpy(blockData, receivedAnswer, 14); + memcpy(blockData, receivedAnswer, 16); return 0; } int mifare_ultra_readblock(uint8_t blockNo, uint8_t *blockData) {