From bc8efe03e709ad79d778e2aa7068a505f5fe7911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20=C3=85gren?= Date: Thu, 10 Apr 2025 12:50:01 +0200 Subject: [PATCH] fw: Initialize arrays in partition_table.c --- hw/application_fpga/fw/tk1/partition_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/application_fpga/fw/tk1/partition_table.c b/hw/application_fpga/fw/tk1/partition_table.c index a84930f..48a593c 100644 --- a/hw/application_fpga/fw/tk1/partition_table.c +++ b/hw/application_fpga/fw/tk1/partition_table.c @@ -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;