X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/f71f4deb8f8f1e932c81f3e62e6ab67012e07b33..92bf6868178c8716d6fe3f526fbff55ecad37023:/armsrc/iclass.c diff --git a/armsrc/iclass.c b/armsrc/iclass.c index 4436602c..1a375118 100644 --- a/armsrc/iclass.c +++ b/armsrc/iclass.c @@ -1085,8 +1085,8 @@ int doIClassSimulation(uint8_t csn[], int breakAfterMacReceived, uint8_t *reader int resp3Len; // e-Purse - // 144: Takes 16 bytes for SOF/EOF and 8 * 16 = 128 bytes (2 bytes/bit) - uint8_t *resp4 = BigBuf_malloc(150); + // 18: Takes 2 bytes for SOF/EOF and 8 * 2 = 16 bytes (2 bytes/bit) + uint8_t *resp4 = BigBuf_malloc(20); int resp4Len; uint8_t *receivedCmd = BigBuf_malloc(MAX_FRAME_SIZE);