From f5820999b4122b3374eb366ddf233561f39c15c4 Mon Sep 17 00:00:00 2001 From: Antiklesys Date: Fri, 4 Jul 2025 17:52:43 +0800 Subject: [PATCH] Update iclass.c Signed-off-by: Antiklesys --- armsrc/iclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/armsrc/iclass.c b/armsrc/iclass.c index 043ca0299..d63b1442c 100644 --- a/armsrc/iclass.c +++ b/armsrc/iclass.c @@ -415,8 +415,8 @@ int do_iclass_simulation(int simulationMode, uint8_t *reader_mac_buf) { // e-Purse (blk 2) // 18: Takes 2 bytes for SOF/EOF and 8 * 2 = 16 bytes (2 bytes/bit) - uint8_t *resp = BigBuf_calloc(18); - int resp_len; + uint8_t *resp_cc = BigBuf_calloc(18); + int resp_cc_len; // Kd, Kc (blocks 3 and 4). Cannot be read. Always respond with 0xff bytes only uint8_t *resp_ff = BigBuf_calloc(22);