Fix SEGV in cmdhf15 due to argtable size being miscomputed
This commit is contained in:
1 parent
5de4dd68e5
commit
3625ee318a
1 file changed
+1
-1
@@ -2624,7 +2624,7 @@ static int CmdHF15Restore(const char *Cmd) {
|
||||
"hf 15 restore -u E011223344556677 -f hf-15-my-dump.bin"
|
||||
);
|
||||
|
||||
void *argtable[6 + 5] = {0};
|
||||
void *argtable[6 + 4] = {0};
|
||||
uint8_t arglen = arg_add_default(argtable);
|
||||
argtable[arglen++] = arg_str0("f", "file", "<fn>", "Specify a filename for dump file");
|
||||
argtable[arglen++] = arg_int0("r", "retry", "<dec>", "number of retries (def 3)");
|
||||
|
||||
Reference in new issue
Block a user