]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
fix truncation issue on "lf t55 config" modulation 638/head
authorgrauerfuchs <42082416+grauerfuchs@users.noreply.github.com>
Sat, 4 Aug 2018 10:26:36 +0000 (06:26 -0400)
committerGitHub <noreply@github.com>
Sat, 4 Aug 2018 10:26:36 +0000 (06:26 -0400)
Fix for issue #637

client/cmdlft55xx.c

index f53ff0d603632cb32238e1e2a8f46e165a1dfdba..2a096cd0e9e543be7e61895d2e8801ba96b5ec3b 100644 (file)
@@ -207,7 +207,7 @@ void printT5xxHeader(uint8_t page){
 int CmdT55xxSetConfig(const char *Cmd) {\r
 \r
        uint8_t offset = 0;\r
 int CmdT55xxSetConfig(const char *Cmd) {\r
 \r
        uint8_t offset = 0;\r
-       char modulation[5] = {0x00};\r
+       char modulation[6] = {0x00};\r
        char tmp = 0x00;\r
        uint8_t bitRate = 0;\r
        uint8_t rates[9] = {8,16,32,40,50,64,100,128,0};\r
        char tmp = 0x00;\r
        uint8_t bitRate = 0;\r
        uint8_t rates[9] = {8,16,32,40,50,64,100,128,0};\r
Impressum, Datenschutz