]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
clear char array with each call
authormarshmellow42 <marshmellowrf@gmail.com>
Tue, 16 Feb 2016 03:36:51 +0000 (22:36 -0500)
committermarshmellow42 <marshmellowrf@gmail.com>
Tue, 16 Feb 2016 03:36:51 +0000 (22:36 -0500)
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