need an even better check if we got anything
This commit is contained in:
1 parent
38a664f00c
commit
b6908ab9c7
1 file changed
+2
@@ -850,6 +850,8 @@ static int CmdLFHitag2Dump(const char *Cmd) {
|
||||
//SendCommandNG(CMD_LF_HITAG_DUMP, &htd, sizeof(htd));
|
||||
PacketResponseNG resp;
|
||||
uint8_t *data = resp.data.asBytes;
|
||||
if (data == NULL)
|
||||
return PM3_ESOFT;
|
||||
|
||||
if (fnlen < 1) {
|
||||
char *fptr = filename;
|
||||
|
||||
Reference in new issue
Block a user