From: Martin Holst Swende Date: Thu, 23 Apr 2015 07:50:44 +0000 (+0200) Subject: Fixed issue with dumping iclass tags > 2KB in size X-Git-Tag: v2.1.0~17 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/0e6c7336b09102432a728796cf4903efc6d3ec5b?ds=sidebyside;hp=--cc Fixed issue with dumping iclass tags > 2KB in size --- 0e6c7336b09102432a728796cf4903efc6d3ec5b 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