mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-13 19:49:57 +08:00
FIX: GCC 4.8 complains the pointer is set before its used in a call to free(). Doesn't complain on Mingw, only Ubuntu.15.10
This commit is contained in:
parent
40a532d97d
commit
089f91dc9d
1 changed files with 1 additions and 1 deletions
|
@ -1378,7 +1378,7 @@ int CmdT55xxBruteForce(const char *Cmd) {
|
|||
char filename[FILE_PATH_SIZE]={0};
|
||||
int keycnt = 0;
|
||||
uint8_t stKeyBlock = 20;
|
||||
uint8_t *keyBlock = NULL, *p;
|
||||
uint8_t *keyBlock = NULL, *p = NULL;
|
||||
keyBlock = calloc(stKeyBlock, 6);
|
||||
if (keyBlock == NULL) return 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue