From d78d0d2f6c5da33e6da509f217a80a14012782ee Mon Sep 17 00:00:00 2001 From: nomennescio Date: Mon, 7 Feb 2022 13:37:11 +0100 Subject: [PATCH] Fix issue https://github.com/factor/factor/issues/2580 --- vm/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/image.cpp b/vm/image.cpp index 444c107e36..571cfa0d27 100644 --- a/vm/image.cpp +++ b/vm/image.cpp @@ -273,7 +273,7 @@ void factor_vm::load_image(vm_parameters* p) { // so. Instead we signal failure by returning false. bool factor_vm::save_image(const vm_char* saving_filename, const vm_char* filename) { - image_header h; + image_header h = {}; h.magic = image_magic; h.version = image_version; -- 2.34.1