mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-23 14:45:37 -07:00
added bounds checking for when the proxmark3 is simulating a ISO14443a tag
This commit is contained in:
parent
129d6f1e6d
commit
7a4bd03cc0
11 changed files with 55 additions and 47 deletions
|
@ -579,7 +579,7 @@ void Mifare1ksim(uint16_t flags, uint8_t exitAfterNReads, uint8_t *datain, uint1
|
|||
|
||||
FpgaEnableTracing();
|
||||
//Now, get data
|
||||
int res = EmGetCmd(receivedCmd, &receivedCmd_len, receivedCmd_par);
|
||||
int res = EmGetCmd(receivedCmd, sizeof(receivedCmd), &receivedCmd_len, receivedCmd_par);
|
||||
|
||||
if (res == 2) { //Field is off!
|
||||
//FpgaDisableTracing();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue