]> 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:29:49 +0000 (12:29 -0600)
commit9d8a093a94685789298d17130e7b3f49c01ed2ab
tree8e970ff052907d285d6ee664394916933cc1fab7
parent6edef49525649c31ae4e087a959eae36d26dc745
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