]> 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:43 +0000 (15:18 -0600)
commit817536621539862610db06b9c55cde01d48ff060
treeea1976213c7cc2923e175cbf239db331f4c7700d
parent9b59326d81906f6d19cd4de5a41ed879ec84fb53
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