mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
iso15sim: fix addressed request minimal size
This commit is contained in:
parent
5e2ff11838
commit
120c9ab534
1 changed files with 1 additions and 1 deletions
|
@ -2328,7 +2328,7 @@ void SimTagIso15693(uint8_t *uid, uint8_t block_size) {
|
||||||
cmdCpt = 2;
|
cmdCpt = 2;
|
||||||
if ((cmd[0] & ISO15_REQ_ADDRESS) == ISO15_REQ_ADDRESS) {
|
if ((cmd[0] & ISO15_REQ_ADDRESS) == ISO15_REQ_ADDRESS) {
|
||||||
if (g_dbglevel >= DBG_DEBUG) Dbprintf("Addressed Request");
|
if (g_dbglevel >= DBG_DEBUG) Dbprintf("Addressed Request");
|
||||||
if (cmd_len <= cmdCpt+8)
|
if (cmd_len < cmdCpt+8)
|
||||||
continue;
|
continue;
|
||||||
if (memcmp(&cmd[cmdCpt], tag->uid, 8) != 0)
|
if (memcmp(&cmd[cmdCpt], tag->uid, 8) != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue