THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#339 - pua_reginfo: Fails to insert the contact into the location table
User who did this - Wonbin Cho (wbcho)

----------
Hi,
In fact, I left a comment on FS#338 about that.
The code gets there not because of the length of aor but because the first loop 
in the while statement hits following lines:

/* 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" XML node is not 
properly loaded.
The first loop hits "goto next_registration" (as quoted above) and 
'ul.unlock_udomain' function is called there.
But it seems that aor is initialized by 'ul.lock_domain' function which is not 
called in the first loop.
This causes the segfault I reported in FS#338.
So I added if (aor.len > 0) condition to avoid it.
I think that is not a real solution that causes the problem. It's only my 
humble workaround so please feel free to change as you fit.

Thanks!
----------

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

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.

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to