From ed11ac717c651b467a7cdada6b1b189ac503f0f5 Mon Sep 17 00:00:00 2001 From: Colton Willey Date: Mon, 8 Jun 2026 10:48:53 -0700 Subject: [PATCH] Fix maybe-uninitialized count in test_wolfSSL_get_chain_idx_bounds --- tests/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api.c b/tests/api.c index beb1d1b0f5..1723e605fc 100644 --- a/tests/api.c +++ b/tests/api.c @@ -3843,7 +3843,7 @@ static int test_wolfSSL_get_chain_idx_bounds(void) WOLFSSL* ssl_c = NULL; WOLFSSL* ssl_s = NULL; WOLFSSL_X509_CHAIN* chain = NULL; - int count; + int count = 0; XMEMSET(&test_ctx, 0, sizeof(test_ctx)); ExpectIntEQ(test_memio_setup(&test_ctx, &ctx_c, &ctx_s, &ssl_c, &ssl_s,