From 08cc2c36d8113a577b7a0c1eb9ae3f7322e8a572 Mon Sep 17 00:00:00 2001 From: Iceman Date: Wed, 26 Apr 2017 19:52:03 +0200 Subject: [PATCH] fix: 'hf mf chk' Dictionary files will load wrong if they exceed 256lines. --- client/cmdhfmf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdhfmf.c b/client/cmdhfmf.c index 13cbee685..820fb93bc 100644 --- a/client/cmdhfmf.c +++ b/client/cmdhfmf.c @@ -1081,7 +1081,7 @@ int CmdHF14AMfChk(const char *Cmd) { char filename[FILE_PATH_SIZE]={0}; char buf[13]; uint8_t *keyBlock = NULL, *p; - uint8_t stKeyBlock = 20; + uint16_t stKeyBlock = 20; sector_t *e_sector = NULL;