fix cid 357754
This commit is contained in:
1 parent
c5119e5bea
commit
2494fef7fd
1 file changed
+1
-1
+1
-1
@@ -107,7 +107,7 @@ static int CmdNfcDecode(const char *Cmd) {
|
||||
uint8_t *dump = NULL;
|
||||
size_t bytes_read = 4096;
|
||||
res = pm3_load_dump(filename, (void **)&dump, &bytes_read, 4096);
|
||||
if (res != PM3_SUCCESS) {
|
||||
if (res != PM3_SUCCESS || dump == NULL) {
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user