chan_sip: Check sip_pvt pointer in ast_channel_get_t38_state(c)
authorFilip Jenicek <phill@janevim.cz>
Tue, 8 Dec 2015 07:57:22 +0000 (08:57 +0100)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 8 Dec 2015 18:23:30 +0000 (12:23 -0600)
commit59a91c350a48dcea7dc2bf1e22f5c2cef602772b
tree50c83ee1ecfd2f14320d181f8bbfd2cbe2a92f7f
parent65c8147952b60b1f16e05fb62d5b5f889775d3a6
chan_sip: Check sip_pvt pointer in ast_channel_get_t38_state(c)

Asterisk may crash when calling ast_channel_get_t38_state(c)
on a locked channel which is being hung up.

ASTERISK-25609 #close

Change-Id: Ifaa707c04b865a290ffab719bd2e5c48ff667c7b
channels/chan_sip.c