]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_dtmf_info: NULL terminate the message body. 49/2349/2
authorJoshua Colp <jcolp@digium.com>
Thu, 3 Mar 2016 14:26:10 +0000 (10:26 -0400)
committerJoshua Colp <jcolp@digium.com>
Thu, 3 Mar 2016 16:42:57 +0000 (12:42 -0400)
commit26b8f2692e43ab382153fbb29c138427994ded92
tree65e9dd14d825b18bd61f27d36878be9e7fd37bd1
parent3b6b164f2ec1df09337fe33e92e74757e4acfb9f
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
res/res_pjsip_dtmf_info.c