mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-10 02:04:39 +08:00
fix: 'hf iclass decrypt' - use after free
This commit is contained in:
parent
48a28fa575
commit
35da3707d3
1 changed files with 1 additions and 1 deletions
|
@ -784,8 +784,8 @@ int CmdHFiClassDecrypt(const char *Cmd) {
|
|||
}
|
||||
|
||||
saveFile(outfilename, "bin", decrypted, fsize);
|
||||
free(decrypted);
|
||||
printIclassDumpContents(decrypted, 1, (fsize / 8), fsize);
|
||||
free(decrypted);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue