diff --git a/client/cmdhficlass.c b/client/cmdhficlass.c index 39fbf9658..26e23d170 100644 --- a/client/cmdhficlass.c +++ b/client/cmdhficlass.c @@ -735,7 +735,7 @@ static int CmdHFiClassELoad(const char *Cmd) { switch (dftype) { case BIN: { - res = loadFile(filename, ".bin", (void *)&dump, 2048, &bytes_read); + res = loadFile_safe(filename, ".bin", (void **)&dump, &bytes_read); break; } case EML: {