mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
FIX: Coverity Scan fixes to emvcmd.c among others.
FIX: emclearmem bug.
This commit is contained in:
parent
790bb5ae49
commit
dfcf20d641
4 changed files with 6 additions and 6 deletions
|
@ -578,7 +578,7 @@ void emlClearMem(void) {
|
|||
memset(emCARD, 0, CARD_MEMORY_SIZE);
|
||||
|
||||
// fill sectors trailer data
|
||||
for(uint8_t b = 3; b < 256; ((b < 127) ? (b += 4) : (b += 16)))
|
||||
for(uint16_t b = 3; b < 256; ((b < 127) ? (b += 4) : (b += 16)))
|
||||
emlSetMem((uint8_t *)trailer, b, 1);
|
||||
|
||||
// uid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue