mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-24 23:25:40 -07:00
coverity fix 309975
This commit is contained in:
parent
56b4a480cd
commit
405b93f109
1 changed files with 5 additions and 2 deletions
|
@ -2966,8 +2966,11 @@ static int CmdT55xxChkPwds(const char *Cmd) {
|
||||||
"lf t55xx chk --em aa11223344 -> try known pwdgen algo from some cloners based on EM4100 ID"
|
"lf t55xx chk --em aa11223344 -> try known pwdgen algo from some cloners based on EM4100 ID"
|
||||||
);
|
);
|
||||||
|
|
||||||
// 4 + (5 or 6)
|
// Calculate size of argtable accordingly:
|
||||||
void *argtable[9] = {
|
// 1 (help) + 3 (three user specified params) + ( 5 or 6 T55XX_DLMODE)
|
||||||
|
// 4 + (T55XX_DLMODE_xxx 5)
|
||||||
|
// 4 + (T55XX_DLMODE_ALL 6) == 10
|
||||||
|
void *argtable[10] = {
|
||||||
arg_param_begin,
|
arg_param_begin,
|
||||||
arg_lit0("m", "fm", "use dictionary from flash memory (RDV4)"),
|
arg_lit0("m", "fm", "use dictionary from flash memory (RDV4)"),
|
||||||
arg_str0("f", "file", "<filename>", "file name"),
|
arg_str0("f", "file", "<filename>", "file name"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue