[sr-dev] [tracker] Comment added: Kamailio 4.0.x crash with pua_reginfo : reginfo_handle_notify

sip-router bugtracker at sip-router.org
Thu Sep 12 07:44:34 CEST 2013


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#338 - Kamailio 4.0.x crash with pua_reginfo : reginfo_handle_notify
User who did this - Wonbin Cho (wbcho)

----------
"kamailio-4.0.1/modules/pua_reginfo/notify.c" Line 227:

 registrations = doc_root->children;
   while (registrations) {
      /* Only process registration sub-items */
      if (xmlStrcasecmp(registrations->name, BAD_CAST "registration") != 0)
         goto next_registration;
...
It seems that the first "registration" item of "reginfo" node is not loaded at the first loop.
The first loop hits "goto next_registration" and jumps to the line where unlock_udomain function is called.
The segfault occurs when referring to an unallocated address of 'aor'.
----------

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=338#comment1069

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list