mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
cosmetic
This commit is contained in:
parent
fb0b448c4f
commit
3ef3c98a1d
1 changed files with 3 additions and 3 deletions
|
@ -3386,7 +3386,7 @@ static int CmdAtrLookup(const char *Cmd) {
|
||||||
arg_param_end
|
arg_param_end
|
||||||
};
|
};
|
||||||
CLIExecWithReturn(ctx, Cmd, argtable, false);
|
CLIExecWithReturn(ctx, Cmd, argtable, false);
|
||||||
uint8_t data[128 + 1];
|
uint8_t data[129];
|
||||||
int dlen = sizeof(data) - 1; // CLIGetStrWithReturn does not guarantee string to be null-terminated
|
int dlen = sizeof(data) - 1; // CLIGetStrWithReturn does not guarantee string to be null-terminated
|
||||||
CLIGetStrWithReturn(ctx, 1, data, &dlen);
|
CLIGetStrWithReturn(ctx, 1, data, &dlen);
|
||||||
|
|
||||||
|
@ -3574,11 +3574,11 @@ static int CmdBinaryMap(const char *Cmd) {
|
||||||
};
|
};
|
||||||
CLIExecWithReturn(ctx, Cmd, argtable, false);
|
CLIExecWithReturn(ctx, Cmd, argtable, false);
|
||||||
|
|
||||||
uint8_t hex[5 + 1];
|
uint8_t hex[6];
|
||||||
int hlen = sizeof(hex) - 1; // CLIGetStrWithReturn does not guarantee string to be null-terminated
|
int hlen = sizeof(hex) - 1; // CLIGetStrWithReturn does not guarantee string to be null-terminated
|
||||||
CLIGetStrWithReturn(ctx, 1, hex, &hlen);
|
CLIGetStrWithReturn(ctx, 1, hex, &hlen);
|
||||||
|
|
||||||
uint8_t template[40 + 1];
|
uint8_t template[41];
|
||||||
int tlen = sizeof(template) - 1; // CLIGetStrWithReturn does not guarantee string to be null-terminated
|
int tlen = sizeof(template) - 1; // CLIGetStrWithReturn does not guarantee string to be null-terminated
|
||||||
CLIGetStrWithReturn(ctx, 2, template, &tlen);
|
CLIGetStrWithReturn(ctx, 2, template, &tlen);
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue