From d987c3aab84361d3defebea9a9aac34406365ea8 Mon Sep 17 00:00:00 2001 From: didierA <1620015+didiera@users.noreply.github.com> Date: Tue, 1 Sep 2026 17:27:42 +0200 Subject: [PATCH] fixes compile fail on aarch64 (issue #3394) --- client/src/cmdmad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdmad.c b/client/src/cmdmad.c index e1d3a8359..d7078628a 100644 --- a/client/src/cmdmad.c +++ b/client/src/cmdmad.c @@ -601,7 +601,7 @@ static int CmdMADEncode(const char *Cmd) { memcpy(aid_str, val, 4); uint16_t aid_val = (uint16_t)strtoul(aid_str, NULL, 16); - uint8_t sectors[40] = {0}; + uint8_t sectors[48] = {0}; int nsectors = parse_sector_ranges(colon + 1, sectors, 40); if (nsectors <= 0) { PrintAndLogEx(ERR, "Invalid sector range in " _YELLOW_("'%s'"), val);