]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfem4x.c
Avoid a crash in "script list" (#521)
[proxmark3-svn] / client / cmdlfem4x.c
index e6a257640a5958252f8101ef9eb84a8c0450c040..6d562be0ecfab320c14d5e0e14e05da8371e9287 100644 (file)
@@ -335,7 +335,7 @@ int CmdEM410xBrute(const char *Cmd)
                delay = param_get32ex(Cmd, 4, 1000, 10);
        }
 
-       param_getstr(Cmd, 0, filename);
+       param_getstr(Cmd, 0, filename, sizeof(filename));
        
        uidBlock = calloc(stUidBlock, 5);
        if (uidBlock == NULL) return 1;
Impressum, Datenschutz