... | ... |
@@ -2619,7 +2619,7 @@ static int magic_scandesc(cli_ctx *ctx, cli_file_t type) |
2619 | 2619 |
uint8_t typercg = 1; |
2620 | 2620 |
cli_file_t current_container_type = ctx->container_type; |
2621 | 2621 |
size_t current_container_size = ctx->container_size, hashed_size; |
2622 |
- unsigned char hash[16]; |
|
2622 |
+ unsigned char hash[16] = {'\0'}; |
|
2623 | 2623 |
bitset_t *old_hook_lsig_matches; |
2624 | 2624 |
const char *filetype; |
2625 | 2625 |
int cache_clean = 0, res; |