projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aeb128e
)
FIX: CoverityScan 133858 -uninitialized data
author
iceman1001
<iceman@iuse.se>
Tue, 2 Aug 2016 14:05:50 +0000
(16:05 +0200)
committer
iceman1001
<iceman@iuse.se>
Tue, 2 Aug 2016 14:05:50 +0000
(16:05 +0200)
client/cmdanalyse.c
patch
|
blob
|
blame
|
history
diff --git
a/client/cmdanalyse.c
b/client/cmdanalyse.c
index 6a8e5bc07edd916309df3132c1acf335c7382336..f2efd3a64a14db905c3d4c2a69be1b898ee4d078 100644
(file)
--- a/
client/cmdanalyse.c
+++ b/
client/cmdanalyse.c
@@
-188,6
+188,7
@@
int CmdAnalyseCHKSUM(const char *Cmd){
uint32_t mask = 0xFF;
bool errors = false;
int len = 0;
uint32_t mask = 0xFF;
bool errors = false;
int len = 0;
+ memset(data, 0x0, sizeof(data));
while(param_getchar(Cmd, cmdp) != 0x00) {
switch(param_getchar(Cmd, cmdp)) {
while(param_getchar(Cmd, cmdp) != 0x00) {
switch(param_getchar(Cmd, cmdp)) {
Impressum
,
Datenschutz