]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_outbound_publish: Potential crash due to off nominal path 06/2806/1
authorKevin Harwell <kharwell@digium.com>
Tue, 3 May 2016 20:31:19 +0000 (15:31 -0500)
committerKevin Harwell <kharwell@digium.com>
Wed, 11 May 2016 16:41:39 +0000 (11:41 -0500)
commit1b5c91b7be1020754ca724e488c9fb733dbce99d
tree11af06f227405cb8d7c9d4f5073295fcbde19050
parent81773ceb9cb03e11b9a39fb882dcc72815784566
res_pjsip_outbound_publish: Potential crash due to off nominal path

It was possible for the explicit publish destroy function to be called without
the pjsip client ever being initialized. This fix checks to make sure there is
a client to destroy before attempting.

Change-Id: I8eea1bfa3bd472149bfc255310be2a6248688f5c
res/res_pjsip_outbound_publish.c