]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmddata.c
clear char array with each call
[proxmark3-svn] / client / cmddata.c
index f4e161755ef9946b49dba6e2533d68a642c8340e..c43dfaf120700e5869c689ba77fe03ebf189511d 100644 (file)
@@ -920,6 +920,7 @@ int CmdDetectClockRate(const char *Cmd)
 char *GetFSKType(uint8_t fchigh, uint8_t fclow, uint8_t invert)
 {
        static char fType[8];
+       memset(fType, 0x00, 8);
        char *fskType = fType;
        if (fchigh==10 && fclow==8){
                if (invert) //fsk2a
Impressum, Datenschutz