ESOFT->EMALLOC
This commit is contained in:
1 parent
54153153b8
commit
2d23d1d226
1 file changed
+1
-1
@@ -2498,7 +2498,7 @@ static int CmdHF14ANdef(const char *Cmd) {
|
||||
if (ndef_file == NULL) {
|
||||
PrintAndLogEx(ERR, "Out of memory error in CmdHF14ANdef(). Aborting...\n");
|
||||
DropField();
|
||||
return PM3_ESOFT;
|
||||
return PM3_EMALLOC;
|
||||
}
|
||||
for (uint16_t i = offset; i < ndef_size + offset; i += max_rapdu_size) {
|
||||
uint16_t segment_size = max_rapdu_size < ndef_size + offset - i ? max_rapdu_size : ndef_size + offset - i;
|
||||
|
||||
Reference in new issue
Block a user