]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Avoid crash when contact uri is empty string
authorAaron An <anjb@ti-net.com.cn>
Mon, 6 Nov 2017 04:06:15 +0000 (12:06 +0800)
committerJoshua Colp <jcolp@digium.com>
Tue, 7 Nov 2017 15:33:06 +0000 (10:33 -0500)
commitd95bfcd0136af2b8fd8ee20bf1547deacab70254
treed00274135afe5ad5f2607641d153d6a6b50b3ca7
parent315ccf40f403085601ab21b0985196c8125dd4cb
res_pjsip:  Avoid crash when contact uri is empty string

Asterisk will crash if contact uri is invalid, so contact_apply_handler
should check if the uri is NULL or empty.

ASTERISK-27393 #close
Reported-by: Aaron An
Tested-by: AaronAn
Change-Id: Ia0309bdc6b697c73c9c736e1caec910b77ca69f5
res/res_pjsip/location.c