projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f7c30d8
)
FIX: Coverity, CID #121346, resouce leak, close filehandle.
author
iceman1001
<iceman@iuse.se>
Tue, 12 Jan 2016 22:06:53 +0000
(23:06 +0100)
committer
iceman1001
<iceman@iuse.se>
Tue, 12 Jan 2016 22:06:53 +0000
(23:06 +0100)
client/cmdhficlass.c
patch
|
blob
|
blame
|
history
diff --git
a/client/cmdhficlass.c
b/client/cmdhficlass.c
index 047bf1375b46df624e96a6fb4d752095b144d9d4..8235ed223e21156b9c826aac387e13840e2330f2 100644
(file)
--- a/
client/cmdhficlass.c
+++ b/
client/cmdhficlass.c
@@
-1048,6
+1048,7
@@
int CmdHFiClassCloneTag(const char *Cmd) {
if (startblock<5) {
PrintAndLog("You cannot write key blocks this way. yet... make your start block > 4");
if (startblock<5) {
PrintAndLog("You cannot write key blocks this way. yet... make your start block > 4");
+ fclose(f);
return 0;
}
// now read data from the file from block 6 --- 19
return 0;
}
// now read data from the file from block 6 --- 19
Impressum
,
Datenschutz