[OpenSIPS-Devel] [ opensips-Bugs-3535422 ] crash in domainpolicy init
SourceForge.net
noreply at sourceforge.net
Fri Jun 15 13:06:11 CEST 2012
Bugs item #3535422, was opened at 2012-06-15 04:06
Message generated for change (Tracker Item Submitted) made by ditegen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3535422&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.8.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Yaroslav M Strilchuk (ditegen)
Assigned to: Nobody/Anonymous (nobody)
Summary: crash in domainpolicy init
Initial Comment:
The server crashes in domainpolicy mod_init while going through AVPs:
INFO:domainpolicy:mod_init: AVP
DBG:core:__search_avp_map: looking for [portoverride] avp - found -1
DBG:core:new_avp_alias: added alias portoverride with id 24
DBG:core:__search_avp_map: looking for [transportoverride] avp - found -1
DBG:core:new_avp_alias: added alias transportoverride with id 25
DBG:core:__search_avp_map: looking for [domainprefix] avp - found -1
DBG:core:new_avp_alias: added alias domainprefix with id 26
DBG:core:__search_avp_map: looking for [domainsuffix] avp - found -1
DBG:core:wait_status_code: read code 76 ? rc = 0, errno=Success
INFO:core:daemonize: pre-daemon process exiting with -1
Backtrace leads to the code for domain_suffix_avp which differs from the way how other AVPs are parsed, stack corruption follows in no time after calling get_avp_id(&domain_suffix_avp).
Proposed patch in the attachment just brings it line and seems to resolve the issue.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3535422&group_id=232389
More information about the Devel
mailing list