mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -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;
|
||||
char filename[FILE_PATH_SIZE] = {0};
|
||||
CLIParamStrToBuf(arg_get_str(ctx, 1), (uint8_t *)filename, FILE_PATH_SIZE, &fnlen);
|
||||
|
||||
CLIParserFree(ctx);
|
||||
|
||||
clearCommandBuffer();
|
||||
|
@ -757,6 +756,7 @@ static int CmdLFHitag2CheckChallenges(const char *Cmd) {
|
|||
"Test recorded authentications (replay?)",
|
||||
"lf hitag ta"
|
||||
);
|
||||
CLIParserFree(ctx);
|
||||
|
||||
clearCommandBuffer();
|
||||
SendCommandMIX(CMD_LF_HITAG_READER, RHT2F_TEST_AUTH_ATTEMPTS, 0, 0, NULL, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue