]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: CoverityScan 133858 -uninitialized data
authoriceman1001 <iceman@iuse.se>
Tue, 2 Aug 2016 14:05:50 +0000 (16:05 +0200)
committericeman1001 <iceman@iuse.se>
Tue, 2 Aug 2016 14:05:50 +0000 (16:05 +0200)
client/cmdanalyse.c

index 6a8e5bc07edd916309df3132c1acf335c7382336..f2efd3a64a14db905c3d4c2a69be1b898ee4d078 100644 (file)
@@ -188,6 +188,7 @@ int CmdAnalyseCHKSUM(const char *Cmd){
        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)) {
Impressum, Datenschutz