From 6da5c9d0f48fcff0177f13f41cc6623229cc3876 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 14 Feb 2022 09:20:14 +0100 Subject: [PATCH] calloc should already taken care of the zeroing --- client/src/cmdhfmf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/client/src/cmdhfmf.c b/client/src/cmdhfmf.c index dd4636b09..e662e248b 100644 --- a/client/src/cmdhfmf.c +++ b/client/src/cmdhfmf.c @@ -4152,7 +4152,6 @@ static int CmdHF14AMfEView(const char *Cmd) { PrintAndLogEx(WARNING, "Fail, cannot allocate memory"); return PM3_EMALLOC; } - memset(dump, 0, bytes); PrintAndLogEx(INFO, "downloading emulator memory"); if (!GetFromDevice(BIG_BUF_EML, dump, bytes, 0, NULL, 0, NULL, 2500, false)) {