mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
coverity CID 322665
This commit is contained in:
parent
67bdc1f775
commit
3a54bc35fb
1 changed files with 1 additions and 0 deletions
|
@ -3641,6 +3641,7 @@ static int CmdHFiClassEncode(const char *Cmd) {
|
|||
}
|
||||
if (keylen != 16) {
|
||||
PrintAndLogEx(ERR, "Failed to load transport key from file");
|
||||
free(enckeyptr);
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
memcpy(enc_key, enckeyptr, sizeof(enc_key));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue