mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-10 09:32:41 +08:00
coverty 226411
This commit is contained in:
parent
6f9b9335a1
commit
0684060ec0
1 changed files with 3 additions and 0 deletions
|
@ -169,6 +169,9 @@ void printvar(const char *name, uint8_t *arr, int len) {
|
|||
}
|
||||
|
||||
void printarr_human_readable(const char *title, uint8_t *arr, int len) {
|
||||
|
||||
if (arr == NULL) return;
|
||||
|
||||
int cx = 0, i;
|
||||
size_t outsize = 100 + strlen(title) + len * 4;
|
||||
char *output = calloc(outsize, sizeof(char));
|
||||
|
|
Loading…
Reference in a new issue