diff --git a/client/src/cmdhflist.c b/client/src/cmdhflist.c index 5d6fcbd9b..aee2370d3 100644 --- a/client/src/cmdhflist.c +++ b/client/src/cmdhflist.c @@ -553,7 +553,11 @@ void annotateIso15693(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) { snprintf(exp, size, "LOCKBLOCK"); return; case ISO15693_READ_MULTI_BLOCK: - snprintf(exp, size, "READ_MULTI_BLOCK(%d-%d)", cmd[2], (cmd[2] + cmd[3])); + if (cmdsize == 6) { + snprintf(exp, size, "READ_MULTI_BLOCK(%d-%d)", cmd[2], (cmd[2] + cmd[3])); + } else { + snprintf(exp, size, "READ_MULTI_BLOCK"); + } return; case ISO15693_WRITE_MULTI_BLOCK: snprintf(exp, size, "WRITE_MULTI_BLOCK");