[Asterisk-code-review] bridge_channel: Ensure text messages are zero terminated (asterisk[13])
Alexei Gradinari
asteriskteam at digium.com
Wed Aug 19 15:30:50 CDT 2020
Alexei Gradinari has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/14736 )
Change subject: bridge_channel: Ensure text messages are zero terminated
......................................................................
Patch Set 1:
(1 comment)
https://gerrit.asterisk.org/c/asterisk/+/14736/1/main/bridge_channel.c
File main/bridge_channel.c:
https://gerrit.asterisk.org/c/asterisk/+/14736/1/main/bridge_channel.c@2367
PS1, Line 2367: ast_debug(1, "Sending TEXT frame to '%s': %*.s\n",
: ast_channel_name(bridge_channel->chan),
: fr->datalen, (char *) fr->data.ptr);
> I thought about that, but I think in the event of OOM I would want the debug to print (assuming it c […]
In case of OOM better to log ERROR like 'Could not sent TEXT frame to....'
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/14736
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: Ic10057387ce30b2094613ea67e3ae8c5c431dda3
Gerrit-Change-Number: 14736
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-CC: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Comment-Date: Wed, 19 Aug 2020 20:30:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Sean Bright <sean.bright at gmail.com>
Comment-In-Reply-To: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200819/d0e5598c/attachment-0001.html>
More information about the asterisk-code-review
mailing list