]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhficlass.c
Fixed issue with dumping iclass tags > 2KB in size
[proxmark3-svn] / client / cmdhficlass.c
index 44b074b35cc8de0acb1ee65c42b25a9f93a0d442..b83371960d007958e6ae5c1a7d6f1d861693a9de 100644 (file)
@@ -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
Impressum, Datenschutz