From 51c7322742fe97b5ee8d726c47ad603d9e7088e0 Mon Sep 17 00:00:00 2001 From: Nicolas Kruse Date: Fri, 19 Dec 2025 21:41:59 +0100 Subject: [PATCH] initialized runmem_t struct with zeros for coparun executable --- src/coparun/coparun.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/coparun/coparun.c b/src/coparun/coparun.c index 8d2860b..45da6d3 100644 --- a/src/coparun/coparun.c +++ b/src/coparun/coparun.c @@ -46,6 +46,13 @@ int main(int argc, char *argv[]) { } runmem_t targ; + targ.executable_memory_len = 0; + targ.data_memory_len = 0; + targ.executable_memory = NULL; + targ.data_memory = NULL; + targ.entr_point = NULL; + targ.data_offs = 0; + int ret = parse_commands(&targ, file_buff); if (ret == 2) {