mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-04-20 23:26:29 -04:00
fw: Initialize arrays in partition_table.c
This commit is contained in:
parent
648b0e91c8
commit
bc8efe03e7
@ -45,7 +45,7 @@ int part_table_read(struct partition_table_storage *storage)
|
||||
ADDR_PARTITION_TABLE_0,
|
||||
ADDR_PARTITION_TABLE_1,
|
||||
};
|
||||
uint8_t check_digest[PART_DIGEST_SIZE];
|
||||
uint8_t check_digest[PART_DIGEST_SIZE] = {0};
|
||||
|
||||
if (storage == NULL) {
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user