#536 crash in domainpolicy init

1.8.x
closed-fixed
modules (454)
5
2012-06-19
2012-06-15
No

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.

Discussion

  • Bogdan-Andrei Iancu

    Yaroslav, thanks for the patch - it was uploaded on SVN.

    Regards,
    Bogdan

     
  • Bogdan-Andrei Iancu

    • assigned_to: nobody --> bogdan_iancu
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks