From 0e6c7336b09102432a728796cf4903efc6d3ec5b Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Thu, 23 Apr 2015 09:50:44 +0200 Subject: [PATCH] Fixed issue with dumping iclass tags > 2KB in size --- client/cmdhficlass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdhficlass.c b/client/cmdhficlass.c index 44b074b3..b8337196 100644 --- a/client/cmdhficlass.c +++ b/client/cmdhficlass.c @@ -345,7 +345,7 @@ int CmdHFiClassReader_Dump(const char *Cmd) if(dataLength > 0) { 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; }else {//Last transfer, datalength 0 means the dump is finished -- 2.39.5