mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
make zero check stricter
This commit is contained in:
parent
98d291f5b1
commit
b246a2a53e
1 changed files with 1 additions and 1 deletions
|
@ -1128,7 +1128,7 @@ bool SimulateIso14443aInit(uint8_t tagType, uint16_t flags, uint8_t *data, tag_r
|
||||||
}
|
}
|
||||||
|
|
||||||
// if uid not supplied then get from emulator memory
|
// if uid not supplied then get from emulator memory
|
||||||
if ( (memcmp(data, "\x00\x00\x00\x00", 4) == 0) || ((flags & FLAG_UID_IN_EMUL) == FLAG_UID_IN_EMUL)) {
|
if ( (memcmp(data, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 10) == 0) || ((flags & FLAG_UID_IN_EMUL) == FLAG_UID_IN_EMUL)) {
|
||||||
if (tagType == 2 || tagType == 7) {
|
if (tagType == 2 || tagType == 7) {
|
||||||
uint16_t start = MFU_DUMP_PREFIX_LENGTH;
|
uint16_t start = MFU_DUMP_PREFIX_LENGTH;
|
||||||
uint8_t emdata[8];
|
uint8_t emdata[8];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue