]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
fix: array index out of range in mfkeys.log (thanks to @TomHarkness)
authorpwpiwi <pwpiwi@users.noreply.github.com>
Thu, 19 Jul 2018 16:01:18 +0000 (18:01 +0200)
committerpwpiwi <pwpiwi@users.noreply.github.com>
Thu, 19 Jul 2018 16:01:18 +0000 (18:01 +0200)
client/scripts/mfkeys.lua

index 671ce03dd10aa3e6cca970acfa100c3b558d350e..e8abd0b904e411c2e2a2d27ba6ee991f793e7dcb 100644 (file)
@@ -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
Impressum, Datenschutz