projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX: Coverity, Resource leak, CID# 121360, keyBlock needs to be free
[proxmark3-svn]
/
client
/
cmdhflegic.c
diff --git
a/client/cmdhflegic.c
b/client/cmdhflegic.c
index 35ba1f28c49d6d4d64b58b774d7ce571c8feed03..4e52c35c168574b0c2af3c1e6682aa8572fa6747 100644
(file)
--- a/
client/cmdhflegic.c
+++ b/
client/cmdhflegic.c
@@
-16,7
+16,7
@@
#include "cmdparser.h"
#include "cmdhflegic.h"
#include "cmdmain.h"
#include "cmdparser.h"
#include "cmdhflegic.h"
#include "cmdmain.h"
-
+#include "util.h"
static int CmdHelp(const char *Cmd);
static command_t CommandTable[] =
static int CmdHelp(const char *Cmd);
static command_t CommandTable[] =
@@
-58,7
+58,7
@@
int CmdLegicDecode(const char *Cmd)
int crc = 0;
int wrp = 0;
int wrc = 0;
int crc = 0;
int wrp = 0;
int wrc = 0;
- uint8_t data_buf[10
24
]; // receiver buffer
+ uint8_t data_buf[10
52
]; // receiver buffer
char out_string[3076]; // just use big buffer - bad practice
char token_type[4];
char out_string[3076]; // just use big buffer - bad practice
char token_type[4];
Impressum
,
Datenschutz