res_pjsip_session: Fix segv in session_on_rx_response
authorGeorge Joseph <gjoseph@digium.com>
Thu, 9 Jul 2020 14:56:50 +0000 (08:56 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 9 Jul 2020 14:56:50 +0000 (08:56 -0600)
commite88beedd0845aa18a2f5594c6638d443399c93a9
treed6e9a1b05d5d01b1d21e7480ca6ccc978aa7a042
parent312c23b0e103fe2c240d38d1e760d02af3531d3b
res_pjsip_session: Fix segv in session_on_rx_response

session_on_rx_response wasn't checking for a NULL dialog before
attempting to get the invite session from it.

Change-Id: Id13534375966cc2eb7f2b55717c9813c63c10065
res/res_pjsip_session.c