diff options
author | Kevin Harwell <kharwell@digium.com> | 2013-09-27 18:28:41 +0000 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2013-09-27 18:28:41 +0000 |
commit | d6bceb035019a3df16a3b71da6e855ea249c94a5 (patch) | |
tree | 026f75862cd4ef54733b72018d6ac587037e4330 /res/res_pjsip.exports.in | |
parent | 7e2a72771dbd538d8c72865406ca5aabb883d9d9 (diff) |
res_pjsip: crash when using localnet and external_signaling_address options
There was a collision of mod_data use on the transaction between using a nat
hook and an session response callback. During state change it was assumed
what was in the mod_data was nothing or the response callback. However, it
was possible for it to also contain a nat hook thus resulting in a bad cast
and a crash.
Added the ability to store multiple data elements in mod_data via a hash table.
In this instance, mod_data now stores a hash table of the two values that can
be retrieved using an associated string key.
(closes issue ASTERISK-22394)
Reported by: Rusty Newton
Review: https://reviewboard.asterisk.org/r/2843/
........
Merged revisions 399990 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@399991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip.exports.in')
-rw-r--r-- | res/res_pjsip.exports.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_pjsip.exports.in b/res/res_pjsip.exports.in index d896ee60d..5afafc481 100644 --- a/res/res_pjsip.exports.in +++ b/res/res_pjsip.exports.in @@ -70,6 +70,8 @@ LINKER_SYMBOL_PREFIXast_sip_initialize_sorcery_global; LINKER_SYMBOL_PREFIXast_sip_auth_array_init; LINKER_SYMBOL_PREFIXast_sip_auth_array_destroy; + LINKER_SYMBOL_PREFIXast_sip_dict_get; + LINKER_SYMBOL_PREFIXast_sip_dict_set; local: *; }; |