From: pwpiwi Date: Thu, 19 Jul 2018 16:01:18 +0000 (+0200) Subject: fix: array index out of range in mfkeys.log (thanks to @TomHarkness) X-Git-Tag: v3.1.0~41 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/b2e0ac5d3bd01ac9383d321efc483304cc7e0d6d?hp=577b1c27f5baab911609412a5dc15a95b92504d9 fix: array index out of range in mfkeys.log (thanks to @TomHarkness) --- diff --git a/client/scripts/mfkeys.lua b/client/scripts/mfkeys.lua index 671ce03d..e8abd0b9 100644 --- a/client/scripts/mfkeys.lua +++ b/client/scripts/mfkeys.lua @@ -68,7 +68,7 @@ function checkBlock(blockNo, keys, keyType) data = data} local status = checkCommand(command) if status then return status, blockNo end - start = start+n+1 + start = start + n remaining = remaining - n end return nil