mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 13:00:42 -07: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);
|
saveFile(outfilename, "bin", decrypted, fsize);
|
||||||
free(decrypted);
|
|
||||||
printIclassDumpContents(decrypted, 1, (fsize / 8), fsize);
|
printIclassDumpContents(decrypted, 1, (fsize / 8), fsize);
|
||||||
|
free(decrypted);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue