mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-20 03:48:33 +08:00
need an even better check if we got anything
This commit is contained in:
parent
38a664f00c
commit
b6908ab9c7
1 changed files with 2 additions and 0 deletions
|
@ -850,6 +850,8 @@ static int CmdLFHitag2Dump(const char *Cmd) {
|
||||||
//SendCommandNG(CMD_LF_HITAG_DUMP, &htd, sizeof(htd));
|
//SendCommandNG(CMD_LF_HITAG_DUMP, &htd, sizeof(htd));
|
||||||
PacketResponseNG resp;
|
PacketResponseNG resp;
|
||||||
uint8_t *data = resp.data.asBytes;
|
uint8_t *data = resp.data.asBytes;
|
||||||
|
if (data == NULL)
|
||||||
|
return PM3_ESOFT;
|
||||||
|
|
||||||
if (fnlen < 1) {
|
if (fnlen < 1) {
|
||||||
char *fptr = filename;
|
char *fptr = filename;
|
||||||
|
|
Loading…
Add table
Reference in a new issue