[Asterisk-code-review] res pjsip/res pjsip callerid: NULL check on caller id name s... (asterisk[13])

Richard Mudgett asteriskteam at digium.com
Wed Apr 26 14:51:01 CDT 2017


Richard Mudgett has posted comments on this change. ( https://gerrit.asterisk.org/5541 )

Change subject: res_pjsip/res_pjsip_callerid: NULL check on caller id name string
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/#/c/5541/1/res/res_pjsip_caller_id.c
File res/res_pjsip_caller_id.c:

Line 453: 	pj_strdup2(tdata->pool, &id_uri->user, id->number.str);
This is likely not right.  If not id->number.valid we should clear the number similar to the name.  It is possible to have a string in id->number.str when the valid flag is false.


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Iaa6ffe9d92f598fe9e3c8ae373fadbe3dfbf1d4a
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-HasComments: Yes



More information about the asterisk-code-review mailing list