fw: Initialize arrays in partition_table.c

This commit is contained in:
Mikael Ågren 2025-04-10 12:50:01 +02:00
parent 648b0e91c8
commit bc8efe03e7
No known key found for this signature in database
GPG Key ID: E02DA3D397792C46

View File

@ -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;