FIX: coverty scan defects.

- bigbuf.c  is comparision correct (iLen versus numofparity)
- cmdhfepa.c  resourceleak, add a call to free
- cipherutils.c  resourceleak, added calls to free
This commit is contained in:
iceman1001 committed 2016-01-08 15:28:24 +01:00
1 parent fcb1cdba15
commit 7f6ccd3926
3 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -58,13 +58,13 @@ int CmdHFEPACollectPACENonces(const char *Cmd)
}
// print nonce
PrintAndLog("Length: %d, Nonce: %s", nonce_length, nonce);
free(nonce);
}
if (i < n - 1) {
sleep(d);
}
}
PrintAndLog("End: %u", time(NULL));
return 1;
}