From: Naveen Albert Date: Sat, 1 Oct 2022 22:08:12 +0000 (+0000) Subject: chan_dahdi: Resolve format truncation warning. X-Git-Tag: 20.1.0-rc1~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98fc05f13b0b245d7a5a077153da47229d142323;p=thirdparty%2Fasterisk.git chan_dahdi: Resolve format truncation warning. Fixes a format truncation warning in notify_message. ASTERISK-30256 #close Change-Id: I983a423c0214641ca4f8c9dfe0b19c47448fdee1 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index b829aa43f4..e9527963b0 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -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;