From c59bbd3da1ba9bec6ffde913a0c442dee1980de1 Mon Sep 17 00:00:00 2001 From: Razvan Crainea Date: Fri, 6 Sep 2024 09:55:26 +0300 Subject: [PATCH] auth_aka: fix compile error for uninitialized var --- modules/auth_aka/auth_aka.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auth_aka/auth_aka.c b/modules/auth_aka/auth_aka.c index 44340103643..d40fe4db18d 100644 --- a/modules/auth_aka/auth_aka.c +++ b/modules/auth_aka/auth_aka.c @@ -651,7 +651,7 @@ static int aka_send_resp(struct sip_msg *_msg, str *realm, struct aka_user *user { int ret = -1; int nalgs, c; - str auth_hfs[LAST_ALG_SPTD - FIRST_ALG_SPTD + 1]; + str auth_hfs[LAST_ALG_SPTD - FIRST_ALG_SPTD + 1] = {0}; for (nalgs = 0; nalgs < count; nalgs++) { auth_hfs[nalgs].s = build_aka_auth_hf(avs[nalgs], realm, qop,