mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-12 18:25:07 +08:00
coverity 226410 - printf
This commit is contained in:
parent
f1b15d8e07
commit
16f1866943
1 changed files with 7 additions and 2 deletions
|
@ -2735,8 +2735,13 @@ static int CmdHF14AMfChk(const char *Cmd) {
|
|||
PrintAndLogEx(INFO, "No key specified, trying default keys");
|
||||
for (; keycnt < ARRAYLEN(g_mifare_default_keys); keycnt++)
|
||||
PrintAndLogEx(NORMAL, "[%2d] %02x%02x%02x%02x%02x%02x", keycnt,
|
||||
(keyBlock + 6 * keycnt)[0], (keyBlock + 6 * keycnt)[1], (keyBlock + 6 * keycnt)[2],
|
||||
(keyBlock + 6 * keycnt)[3], (keyBlock + 6 * keycnt)[4], (keyBlock + 6 * keycnt)[5], 6);
|
||||
(keyBlock + 6 * keycnt)[0],
|
||||
(keyBlock + 6 * keycnt)[1],
|
||||
(keyBlock + 6 * keycnt)[2],
|
||||
(keyBlock + 6 * keycnt)[3],
|
||||
(keyBlock + 6 * keycnt)[4],
|
||||
(keyBlock + 6 * keycnt)[5]
|
||||
);
|
||||
}
|
||||
|
||||
// initialize storage for found keys
|
||||
|
|
Loading…
Reference in a new issue