]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Prevent SEGV in pjsip_evsub_send_request
authorMike Bradeen <mbradeen@sangoma.com>
Tue, 21 Feb 2023 20:25:28 +0000 (13:25 -0700)
committerMichael Bradeen <mbradeen@sangoma.com>
Thu, 23 Feb 2023 16:13:19 +0000 (10:13 -0600)
commitb44ffd0565634e771a9c5ddf343f3b150bf31250
treeb39b0739bf5e89a612d8072bb7426d9a8e316f36
parentf9a27f028ff8f3f6736ab45970ded34252f225e9
res_pjsip: Prevent SEGV in pjsip_evsub_send_request

contributed pjproject - patch to check sub->pending_notify
in evsub.c:on_tsx_state before calling
pjsip_evsub_send_request()

res_pjsip_pubsub - change post pjsip 2.13 behavior to use
pubsub_on_refresh_timeout to avoid the ao2_cleanup call on
the sub_tree. This is is because the final NOTIFY send is no
longer the last place the sub_tree is referenced.

ASTERISK-30419

Change-Id: Ib5cc662ce578e9adcda312e16c58a10b6453e438
res/res_pjsip_pubsub.c
third-party/pjproject/patches/0010-Make-sure-that-NOTIFY-tdata-is-set-before-sending-it_new-129fb323a66dd1fd16880fe5ba5e6a57.patch [new file with mode: 0644]