mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
coverity fix
This commit is contained in:
parent
b332a5bd60
commit
152f1d4c6e
1 changed files with 1 additions and 1 deletions
|
@ -729,7 +729,6 @@ static int CmdLFHitagSCheckChallenges(const char *Cmd) {
|
||||||
int fnlen = 0;
|
int fnlen = 0;
|
||||||
char filename[FILE_PATH_SIZE] = {0};
|
char filename[FILE_PATH_SIZE] = {0};
|
||||||
CLIParamStrToBuf(arg_get_str(ctx, 1), (uint8_t *)filename, FILE_PATH_SIZE, &fnlen);
|
CLIParamStrToBuf(arg_get_str(ctx, 1), (uint8_t *)filename, FILE_PATH_SIZE, &fnlen);
|
||||||
|
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
|
@ -757,6 +756,7 @@ static int CmdLFHitag2CheckChallenges(const char *Cmd) {
|
||||||
"Test recorded authentications (replay?)",
|
"Test recorded authentications (replay?)",
|
||||||
"lf hitag ta"
|
"lf hitag ta"
|
||||||
);
|
);
|
||||||
|
CLIParserFree(ctx);
|
||||||
|
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommandMIX(CMD_LF_HITAG_READER, RHT2F_TEST_AUTH_ATTEMPTS, 0, 0, NULL, 0);
|
SendCommandMIX(CMD_LF_HITAG_READER, RHT2F_TEST_AUTH_ATTEMPTS, 0, 0, NULL, 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue