From 50ed4896a970f20c589dc91e14e365de3119f385 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Thu, 12 Feb 2026 15:37:08 +1100 Subject: [PATCH] Silence unitialised variable warnings. --- util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util.c b/util.c index f643303..49d4c99 100644 --- a/util.c +++ b/util.c @@ -370,7 +370,7 @@ bool lrz_crypt(const rzip_control *control, uchar *buf, i64 len, const uchar *sa * stealing to not have to pad the block */ uchar key[HASH_LEN], iv[HASH_LEN]; uchar tmp0[CBC_LEN], tmp1[CBC_LEN]; - aes_context aes_ctx; + aes_context aes_ctx = {}; i64 N, M; bool ret = false; @@ -433,7 +433,7 @@ error: void lrz_stretch(rzip_control *control) { - sha4_context ctx; + sha4_context ctx = {}; i64 j, n, counter; mlock(&ctx, sizeof(ctx));