This commit is contained in:
iceman1001 2021-01-29 16:06:45 +01:00
parent ead26ec3c3
commit 3b37ca1d4c

View file

@ -3581,6 +3581,7 @@ static int CmdT55xxDetectPage1(const char *Cmd) {
int res = arg_get_u32_hexstr_def(ctx, 2, 0, &password); int res = arg_get_u32_hexstr_def(ctx, 2, 0, &password);
if (res == 2) { if (res == 2) {
PrintAndLogEx(INFO, "Password should be 4 hex bytes"); PrintAndLogEx(INFO, "Password should be 4 hex bytes");
CLIParserFree(ctx);
return PM3_EINVARG; return PM3_EINVARG;
} else if (res == 1) { } else if (res == 1) {
usepwd = true; usepwd = true;