]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_session.c: Fix crashes seen when call cancelled. 95/995/1
authorRichard Mudgett <rmudgett@digium.com>
Thu, 30 Jul 2015 22:05:57 +0000 (17:05 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 30 Jul 2015 22:08:09 +0000 (17:08 -0500)
commit13eb491e35ae6a99164dec6a62d7f05784c75c11
tree27536a16d225206e1fac987eb5f28ea79a3b5220
parent9be856e3c669b65db095dd2cdd618983508de296
res_pjsip_session.c: Fix crashes seen when call cancelled.

Two testsuite tests crashed in the same place as a result of an INVITE
being CANCELed.

tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_unspecified
tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_tcp

The session pointer is no longer in the inv->mod_data[session_module.id]
location because the INVITE transaction has reached the terminated state.

ASTERISK-25297 #close
Reported by: Richard Mudgett

Change-Id: Idb75fdca0321f5447d5dac737a632a5f03614427
res/res_pjsip_session.c