mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
calloc should already taken care of the zeroing
This commit is contained in:
parent
63bc9b5eb2
commit
6da5c9d0f4
1 changed files with 0 additions and 1 deletions
|
@ -4152,7 +4152,6 @@ static int CmdHF14AMfEView(const char *Cmd) {
|
||||||
PrintAndLogEx(WARNING, "Fail, cannot allocate memory");
|
PrintAndLogEx(WARNING, "Fail, cannot allocate memory");
|
||||||
return PM3_EMALLOC;
|
return PM3_EMALLOC;
|
||||||
}
|
}
|
||||||
memset(dump, 0, bytes);
|
|
||||||
|
|
||||||
PrintAndLogEx(INFO, "downloading emulator memory");
|
PrintAndLogEx(INFO, "downloading emulator memory");
|
||||||
if (!GetFromDevice(BIG_BUF_EML, dump, bytes, 0, NULL, 0, NULL, 2500, false)) {
|
if (!GetFromDevice(BIG_BUF_EML, dump, bytes, 0, NULL, 0, NULL, 2500, false)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue