[Asterisk-code-review] res pjsip dtmf info: NULL terminate the message body. (asterisk[13])
Joshua Colp
asteriskteam at digium.com
Thu Mar 3 10:43:13 CST 2016
Hello Richard Mudgett,
I'd like you to reexamine a change. Please visit
https://gerrit.asterisk.org/2349
to look at the new patch set (#2).
Change subject: res_pjsip_dtmf_info: NULL terminate the message body.
......................................................................
res_pjsip_dtmf_info: NULL terminate the message body.
PJSIP does not ensure that when printing the message body the
buffer will be NULL terminated. This is problematic when searching
for the signal and duration values of the DTMF.
This change ensures the buffer is always NULL terminated.
Change-Id: I52653a1a60c93092d06af31a27408d569cc98968
---
M res/res_pjsip_dtmf_info.c
1 file changed, 8 insertions(+), 4 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/49/2349/2
--
To view, visit https://gerrit.asterisk.org/2349
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I52653a1a60c93092d06af31a27408d569cc98968
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
More information about the asterisk-code-review
mailing list