]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
chan_dahdi: Resolve format truncation warning.
authorNaveen Albert <asterisk@phreaknet.org>
Sat, 1 Oct 2022 22:08:12 +0000 (22:08 +0000)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Mon, 10 Oct 2022 15:31:13 +0000 (10:31 -0500)
Fixes a format truncation warning in notify_message.

ASTERISK-30256 #close

Change-Id: I983a423c0214641ca4f8c9dfe0b19c47448fdee1

channels/chan_dahdi.c

index b829aa43f42c6943b7335c2dc3ea894c2c9b7021..e9527963b075c2a62bd428bf06e4c576787e257e 100644 (file)
@@ -3447,7 +3447,7 @@ struct sig_ss7_callback sig_ss7_callbacks =
  */
 static void notify_message(char *mailbox, int thereornot)
 {
-       char s[sizeof(mwimonitornotify) + 80];
+       char s[sizeof(mwimonitornotify) + 164];
 
        if (ast_strlen_zero(mailbox)) {
                return;