Commit 73064ff3bf for asterisk.org
commit 73064ff3bf22cf843cd1b1599f5db16d07e36920
Author: Sean Bright <sean@seanbright.com>
Date: Sun Aug 2 16:05:47 2026 +0000
app_voicemail.c: Fix may-be-uninitialized error
A pointer to `new` is passed to `inboxcount(...)` which increments the
pointed-to value.
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 6be1cf6a7a..9a3275d0a4 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -14176,7 +14176,7 @@ static int append_vmu_info_astman(
const char* actionid
)
{
- int new;
+ int new = 0;
int old;
char *mailbox;
int ret;