[Asterisk-code-review] res_pjsip: Replace invalid UTF-8 sequences in callerid name (asterisk[18])
Sean Bright
asteriskteam at digium.com
Wed Mar 1 09:37:45 CST 2023
Attention is currently required from: Sean Bright, Joshua Colp.
Sean Bright has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/19898 )
Change subject: res_pjsip: Replace invalid UTF-8 sequences in callerid name
......................................................................
Patch Set 13: Code-Review+1
(1 comment)
File main/stasis_channels.c:
https://gerrit.asterisk.org/c/asterisk/+/19898/comment/aa05cbf8_73019a69
PS13, Line 1188: %s
If the `value` contains invalid UTF-8 sequences I would avoid printing it. There are places (PJSIP's SIP parser comes to mind) where we inadvertently log binary data that can screw up the console/terminal.
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/19898
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 18
Gerrit-Change-Id: I4ffbdb19c80bf0efc675d40078a3ca4f85c567d8
Gerrit-Change-Number: 19898
Gerrit-PatchSet: 13
Gerrit-Owner: George Joseph <gjoseph at digium.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-Reviewer: Sean Bright <sean at seanbright.com>
Gerrit-Attention: Sean Bright <sean at seanbright.com>
Gerrit-Attention: Joshua Colp <jcolp at sangoma.com>
Gerrit-Comment-Date: Wed, 01 Mar 2023 15:37:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20230301/b2547e88/attachment.html>
More information about the asterisk-code-review
mailing list