]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_outbound_publish: Potential crash due to off nominal path 50/2750/2
authorKevin Harwell <kharwell@digium.com>
Tue, 3 May 2016 20:31:19 +0000 (15:31 -0500)
committerKevin Harwell <kharwell@digium.com>
Thu, 5 May 2016 21:41:50 +0000 (16:41 -0500)
commitdfbb03cc8e1d284b50805be8dfd6eb5595172143
tree7a22307bcd27e4e31f15e58a621ca2e9750fef57
parent4df48581f18924614f3daca243fcff1a7482817b
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