From 5ff9cbaac0c1b52c248cd1ed6ffc41ddd089e6ee Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 31 Aug 2019 15:25:36 +0200 Subject: [PATCH] fix: 'hf iclass eload' - load file works again. --- client/cmdhficlass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: {