[Asterisk-code-review] res pjsip dtmf info: NULL terminate the message body. (asterisk[13])

Richard Mudgett asteriskteam at digium.com
Thu Mar 3 10:38:40 CST 2016


Richard Mudgett has posted comments on this change.

Change subject: res_pjsip_dtmf_info: NULL terminate the message body.
......................................................................


Patch Set 1: Code-Review-1

(1 comment)

https://gerrit.asterisk.org/#/c/2349/1/res/res_pjsip_dtmf_info.c
File res/res_pjsip_dtmf_info.c:

Line 85: 	char buf[body ? body->len + 1 : 0];
I'm not sure a zero array size is valid here when body is NULL.


-- 
To view, visit https://gerrit.asterisk.org/2349
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I52653a1a60c93092d06af31a27408d569cc98968
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-HasComments: Yes



More information about the asterisk-code-review mailing list