modified weigand formats to include number of bits
This commit is contained in:
1 parent
a7643eef7c
commit
323a4284ff
8 files changed
+64
-59
No files matched your search
@@ -1067,8 +1067,10 @@ static int CmdSmartBruteforceSFI(const char *Cmd) {
|
||||
smart_loadjson("aidlist", &root);
|
||||
|
||||
uint8_t *buf = calloc(PM3_CMD_DATA_SIZE, sizeof(uint8_t));
|
||||
if (!buf)
|
||||
if (buf == NULL) {
|
||||
PrintAndLogEx(WARNING, "failed to allocate memory");
|
||||
return PM3_EMALLOC;
|
||||
}
|
||||
|
||||
PrintAndLogEx(INFO, "Selecting card");
|
||||
if (!smart_select(false, NULL)) {
|
||||
|
||||
Reference in new issue
Block a user