]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
CHG: init the char array.
authoriceman1001 <iceman@iuse.se>
Sat, 22 Oct 2016 22:38:09 +0000 (00:38 +0200)
committericeman1001 <iceman@iuse.se>
Sat, 22 Oct 2016 22:38:09 +0000 (00:38 +0200)
client/cmdhw.c

index 66a35bbe8cee14f16f872d60660e6d014af80f24..6549d6ea7c6572dbbb0a8d3e66e554eff5c5216f 100644 (file)
@@ -27,6 +27,7 @@ static int CmdHelp(const char *Cmd);
 static void lookupChipID(uint32_t iChipID, uint32_t mem_used)
 {
        char asBuff[100];
+       memset(asBuff, 0, sizeof(asBuff));
        uint32_t mem_avail = 0;
        
        switch(iChipID)
Impressum, Datenschutz