]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Check return from pjsip_parse_uri calls
authorGeorge Joseph <gjoseph@digium.com>
Thu, 2 May 2019 18:29:49 +0000 (12:29 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 2 May 2019 18:32:31 +0000 (12:32 -0600)
commit5002169d6aa4c0949535c79dec7264e5694f80d1
tree36fc1ada4975622f7948ea0ba1e42258382154d1
parentf2cb892d7c06fd0aee6eb98dc38814e251818ac8
res_pjsip:  Check return from pjsip_parse_uri calls

Updated ast_sip_create_rdata_with_contact and registrar_find_contact
to check the return from pjsip_parse_uri before attempting to
use the uri returned.

ASTERISK-28402
Reported-by: Ross Beer
Change-Id: I9810b3b163c45ed5a56ec743586e5ce107f13ba7
res/res_pjsip.c
res/res_pjsip_registrar.c