From 3aad8fd4a30d4067f19c3967d68a738788929370 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Mon, 12 Jan 2026 10:36:32 +0000 Subject: [PATCH] mie: index: cache: fix cache entries not being initialised correctly --- mie/dialect/index/index-cache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mie/dialect/index/index-cache.c b/mie/dialect/index/index-cache.c index 366fea6..ede58d7 100644 --- a/mie/dialect/index/index-cache.c +++ b/mie/dialect/index/index-cache.c @@ -26,6 +26,8 @@ static struct index_cache_entry *index_cache_entry_create( return NULL; } + memset(out, 0x0, sizeof *out); + out->e_value.i_value = val; out->e_value.i_base.v_type = mie_ctx_get_type(ctx, "index", "index"); if (!out->e_value.i_base.v_type) {