mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-19 05:33:17 +08:00
Fixed issue with dumping iclass tags > 2KB in size
This commit is contained in:
parent
83602affe5
commit
0e6c7336b0
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ int CmdHFiClassReader_Dump(const char *Cmd)
|
||||||
if(dataLength > 0)
|
if(dataLength > 0)
|
||||||
{
|
{
|
||||||
PrintAndLog("Got %d bytes data (total so far %d)" ,dataLength,iclass_datalen);
|
PrintAndLog("Got %d bytes data (total so far %d)" ,dataLength,iclass_datalen);
|
||||||
memcpy(iclass_data, resp.d.asBytes,dataLength);
|
memcpy(iclass_data+iclass_datalen, resp.d.asBytes,dataLength);
|
||||||
iclass_datalen += dataLength;
|
iclass_datalen += dataLength;
|
||||||
}else
|
}else
|
||||||
{//Last transfer, datalength 0 means the dump is finished
|
{//Last transfer, datalength 0 means the dump is finished
|
||||||
|
|
Loading…
Reference in a new issue