]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Fix crash when contact has no status
authorJørgen H <asterisk.org@hovland.cx>
Thu, 16 Feb 2017 10:16:47 +0000 (10:16 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 27 Feb 2017 21:18:52 +0000 (15:18 -0600)
commit0595c31da749b18a60d957b8685b93c96045cd68
tree2dfde47c5b96afe62898030bc97b930fb392364f
parent9d3ab062cccc5d545648dd65beb817c37f439c2f
res_pjsip: Fix crash when contact has no status

This change fixes an assumption in res_pjsip that a contact will
always have a status. There is a race condition where this is
not true and would crash. The status will now be unknown when
this situation occurs.

ASTERISK-26623 #close

Change-Id: Id52d3ca4d788562d236da49990a319118f8d22b5
res/res_pjsip/pjsip_options.c