From aeaebc0977b39b8b3fe7d2f6e243c5f535daab1f Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Tue, 22 Feb 2022 13:43:20 +0700 Subject: [PATCH] bootloader: explicit initialization --- components/bootloader_support/src/bootloader_utility.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bootloader_support/src/bootloader_utility.c b/components/bootloader_support/src/bootloader_utility.c index ecc55efaf6..86ce78898a 100644 --- a/components/bootloader_support/src/bootloader_utility.c +++ b/components/bootloader_support/src/bootloader_utility.c @@ -478,7 +478,7 @@ void bootloader_utility_load_boot_image(const bootloader_state_t *bs, int start_ { int index = start_index; esp_partition_pos_t part; - esp_image_metadata_t image_data; + esp_image_metadata_t image_data = {0}; if (start_index == TEST_APP_INDEX) { if (check_anti_rollback(&bs->test) && try_load_partition(&bs->test, &image_data)) {