]> 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 14:55:24 +0000 (09:55 -0500)
Fixes a format truncation warning in notify_message.

ASTERISK-30256 #close

Change-Id: I983a423c0214641ca4f8c9dfe0b19c47448fdee1

channels/chan_dahdi.c

index e7da9b49e6fc32f80abdc8e389b32195354ed506..d59d26e896198e418e0972244715dd11d3e18635 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;