fix memory copy...

This commit is contained in:
iceman1001 2024-01-26 22:53:29 +01:00
commit 6df068f817

View file

@ -687,7 +687,7 @@ static int read_xerox_block(iso14b_card_select_t *card, uint8_t blockno, uint8_t
break; break;
} }
memcpy(out + (blockno * XEROX_BLOCK_SIZE), d + 1, XEROX_BLOCK_SIZE); memcpy(out, d + 1, XEROX_BLOCK_SIZE);
res = PM3_SUCCESS; res = PM3_SUCCESS;
break; break;
} }