mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
FIX: Coverity, CID #121346, resouce leak, close filehandle.
This commit is contained in:
parent
f7c30d806c
commit
628d1cb085
1 changed files with 1 additions and 0 deletions
|
@ -1048,6 +1048,7 @@ int CmdHFiClassCloneTag(const char *Cmd) {
|
||||||
|
|
||||||
if (startblock<5) {
|
if (startblock<5) {
|
||||||
PrintAndLog("You cannot write key blocks this way. yet... make your start block > 4");
|
PrintAndLog("You cannot write key blocks this way. yet... make your start block > 4");
|
||||||
|
fclose(f);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
// now read data from the file from block 6 --- 19
|
// now read data from the file from block 6 --- 19
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue