[Asterisk-code-review] chan_dahdi: Resolve format truncation warning. (asterisk[20])
Friendly Automation
asteriskteam at digium.com
Mon Oct 10 10:31:30 CDT 2022
Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/19425 )
Change subject: chan_dahdi: Resolve format truncation warning.
......................................................................
chan_dahdi: Resolve format truncation warning.
Fixes a format truncation warning in notify_message.
ASTERISK-30256 #close
Change-Id: I983a423c0214641ca4f8c9dfe0b19c47448fdee1
---
M channels/chan_dahdi.c
1 file changed, 14 insertions(+), 1 deletion(-)
Approvals:
Joshua Colp: Looks good to me, but someone else must approve
Benjamin Keith Ford: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved
Friendly Automation: Approved for Submit
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index b829aa4..e952796 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -3447,7 +3447,7 @@
*/
static void notify_message(char *mailbox, int thereornot)
{
- char s[sizeof(mwimonitornotify) + 80];
+ char s[sizeof(mwimonitornotify) + 164];
if (ast_strlen_zero(mailbox)) {
return;
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/19425
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 20
Gerrit-Change-Id: I983a423c0214641ca4f8c9dfe0b19c47448fdee1
Gerrit-Change-Number: 19425
Gerrit-PatchSet: 2
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20221010/a80c9248/attachment.html>
More information about the asterisk-code-review
mailing list