diff options
author | Kevin Harwell <kharwell@digium.com> | 2014-11-13 22:26:56 +0000 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2014-11-13 22:26:56 +0000 |
commit | 49b7a1cbafdc3dc439277701c50c9d85fb48a595 (patch) | |
tree | 1e485e0600de508cb891f7dfc02b3e6771d8e35a /res/res_pjsip_session.c | |
parent | 74e706878b4528e7d6db26e129f2f0d7346dbf0b (diff) |
res_pjsip_exten_state: PJSIPShowSubscriptionsInbound causes crash
When using a non-default sorcery wizard (in this instance realtime) for
outbound registrations and after adding in an appropriate call to
ast_sorcery_apply_config() (since it is missing) Asterisk will crash after
a stack overflow occurs due to the code infinitely recursing. The fix entails
removing the outbound registration state dependency from the outbound
registration sorcery object and instead keeping an in memory container that
can be used to lookup the state when needed.
ASTERISK-24514
Reported by: Mark Michelson
Review: https://reviewboard.asterisk.org/r/4164/
........
Merged revisions 427814 from http://svn.asterisk.org/svn/asterisk/branches/12
........
Merged revisions 427815 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@427823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip_session.c')
0 files changed, 0 insertions, 0 deletions