mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-21 07:46:12 +08:00
coverity fix #308455
This commit is contained in:
parent
ead26ec3c3
commit
3b37ca1d4c
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue