]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlft55xx.c
fix another way
[proxmark3-svn] / client / cmdlft55xx.c
index 252aaaa2a9440cca6812b488b5fd6c8d1ae608de..92a00bce5820f7e63dd4675c12ac1ec118f2567a 100644 (file)
@@ -236,7 +236,7 @@ int CmdT55xxSetConfig(const char *Cmd) {
                        cmdp+=2;\r
                        break;\r
                case 'd':\r
-                       param_getstr(Cmd, cmdp+1, modulation);\r
+                       param_getstr(Cmd, cmdp+1, modulation, sizeof(modulation));\r
                        cmdp += 2;\r
 \r
                        if ( strcmp(modulation, "FSK" ) == 0) {\r
Impressum, Datenschutz