mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
..break it...
This commit is contained in:
parent
facd1a24a9
commit
8b100bf173
1 changed files with 2 additions and 1 deletions
|
@ -3070,7 +3070,8 @@ static int CmdHFiClassCheckKeys(const char *Cmd) {
|
||||||
uint32_t tmp_plen = sizeof(iclass_chk_t) + (4 * curr_chunk_cnt);
|
uint32_t tmp_plen = sizeof(iclass_chk_t) + (4 * curr_chunk_cnt);
|
||||||
iclass_chk_t *packet = calloc(tmp_plen, sizeof(uint8_t) );
|
iclass_chk_t *packet = calloc(tmp_plen, sizeof(uint8_t) );
|
||||||
if (packet == NULL) {
|
if (packet == NULL) {
|
||||||
|
PrintAndLogEx(WARNING, "failed to allocate memory");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
packet->use_credit_key = use_credit_key;
|
packet->use_credit_key = use_credit_key;
|
||||||
packet->count = curr_chunk_cnt;
|
packet->count = curr_chunk_cnt;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue