mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-08 01:06:37 +08:00
reverse a check change
This commit is contained in:
parent
5525cefd19
commit
ea86edc723
1 changed files with 1 additions and 1 deletions
|
@ -716,7 +716,7 @@ int GetIso15693AnswerFromTag(uint8_t *response, uint16_t max_len, uint16_t timeo
|
|||
if (dt->lastBit == SOF_PART2) {
|
||||
*eof_time -= (8 * 16); // needed 8 additional samples to confirm single SOF (iCLASS)
|
||||
}
|
||||
if (dt->len >= dt->max_len) {
|
||||
if (dt->len > dt->max_len) {
|
||||
ret = -2; // buffer overflow
|
||||
Dbprintf("overflow (%d >= %d", dt->len, dt->max_len);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue