mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Merge pull request #547 from micolous/bug/hex-value-boolean-inversion
fix: logic inversion in loadFileDICTIONARY_safe use of CheckStringIsHEXValue
This commit is contained in:
commit
d1eb7618d6
1 changed files with 1 additions and 1 deletions
|
@ -1016,7 +1016,7 @@ int loadFileDICTIONARY_safe(const char *preferredName, void **pdata, uint8_t key
|
||||||
if (line[0] == '#')
|
if (line[0] == '#')
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (CheckStringIsHEXValue(line))
|
if (!CheckStringIsHEXValue(line))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
uint64_t key = strtoull(line, NULL, 16);
|
uint64_t key = strtoull(line, NULL, 16);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue