mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 05:13:22 -07:00
Fix memory bounds error
This commit is contained in:
parent
c0e852f907
commit
874572d419
11 changed files with 58 additions and 47 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue