From: iceman1001 Date: Sat, 22 Oct 2016 22:38:09 +0000 (+0200) Subject: CHG: init the char array. X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/520d06e856c5c3374d83cac6be3508d9ee3142b0 CHG: init the char array. --- diff --git a/client/cmdhw.c b/client/cmdhw.c index 66a35bbe..6549d6ea 100644 --- a/client/cmdhw.c +++ b/client/cmdhw.c @@ -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)