mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-31 04:39:49 +08:00
fix coverity 267213
This commit is contained in:
parent
d11716110f
commit
9c9906c823
1 changed files with 2 additions and 2 deletions
|
@ -73,11 +73,11 @@ void DecodeBlock6(uint8_t *src) {
|
||||||
|
|
||||||
// first part
|
// first part
|
||||||
ExchangeAPDUSC(true, c, sizeof(c), false, true, resp, sizeof(resp), &resp_len);
|
ExchangeAPDUSC(true, c, sizeof(c), false, true, resp, sizeof(resp), &resp_len);
|
||||||
PrintAndLogEx(SUCCESS, "%0.*s", resp_len - 11, resp + 9);
|
PrintAndLogEx(SUCCESS, "%.*s", resp_len - 11, resp + 9);
|
||||||
|
|
||||||
// second part
|
// second part
|
||||||
c[5] = 0x02;
|
c[5] = 0x02;
|
||||||
ExchangeAPDUSC(true, c, sizeof(c), false, true, resp, sizeof(resp), &resp_len);
|
ExchangeAPDUSC(true, c, sizeof(c), false, true, resp, sizeof(resp), &resp_len);
|
||||||
PrintAndLogEx(SUCCESS, "%0.*s", resp_len - 11, resp + 9);
|
PrintAndLogEx(SUCCESS, "%.*s", resp_len - 11, resp + 9);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue