mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
trying to please codeQL
This commit is contained in:
parent
e6c427fe21
commit
17ddc2db82
2 changed files with 5 additions and 5 deletions
|
@ -1111,7 +1111,7 @@ void MifareAcquireStaticEncryptedNonces(uint32_t flags, uint8_t *key) {
|
|||
};
|
||||
if (with_data) {
|
||||
uint8_t data[16];
|
||||
for (uint8_t tb = blockNo; tb < blockNo + 4; tb++) {
|
||||
for (uint16_t tb = blockNo; tb < blockNo + 4; tb++) {
|
||||
memset(data, 0x00, sizeof(data));
|
||||
int res = mifare_classic_readblock(pcs, tb, data);
|
||||
if (res == 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue