mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
FIX: coverty scan defects.
- bigbuf.c is comparision correct (iLen versus numofparity) - cmdhfepa.c resourceleak, add a call to free - cipherutils.c resourceleak, added calls to free
This commit is contained in:
parent
fcb1cdba15
commit
7f6ccd3926
3 changed files with 4 additions and 2 deletions
|
@ -58,13 +58,13 @@ int CmdHFEPACollectPACENonces(const char *Cmd)
|
|||
}
|
||||
// print nonce
|
||||
PrintAndLog("Length: %d, Nonce: %s", nonce_length, nonce);
|
||||
free(nonce);
|
||||
}
|
||||
if (i < n - 1) {
|
||||
sleep(d);
|
||||
}
|
||||
}
|
||||
PrintAndLog("End: %u", time(NULL));
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue