[sr-dev] [tracker] Comment added: kamailio 3.0.x: segfault in carrierroute

sip-router admin at sip-router.org
Thu Apr 8 15:59:20 CEST 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#60 - kamailio 3.0.x: segfault in carrierroute
User who did this - marius zbihlei (marius.zbihlei)

----------
Hello Ovidiu,

I have done a couple of tests and I get the following results:

1. The crash happens only in kamailio-3.0 branch (not it ser or kamailio 1.5)
2. The crash happens only when I use an string value for the avp

As it seems the handling of the name of the avp in case of an error is wrong, because the code always behaves like the avp name is AVP_VAL_STR which is not the case in smth like $avp(i:707)

I have commited a patch on the kamailio_3.0 branch that fixes the bug by checking the type of avp name. (http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5604e51eb8fd6502495a37c26f9c549bcd63ca8a) As I side note I still can't figure it out why in ser or kamailio 1.5 it doesn't crash. If anyone can shed more light on the subject, I would be very thankful.

Marius

----------

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

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