[sr-dev] [tracker] Task opened: coredump when invoking 'kamcmd ul.add ...' with path parameter set to 's:0' and debug level >= 3

sip-router bugtracker at sip-router.org
Fri Sep 12 15:46:57 CEST 2014


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Thomas Arimont (topotomaso) 

Attached to Project - sip-router
Summary - coredump when invoking 'kamcmd ul.add ...' with path parameter set to 's:0' and debug level >= 3
Task Type - Bug Report
Category - usrloc (k)
Status - Unconfirmed
Assigned To - 
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - 4.1
Due in Version - Undecided
Due Date - Undecided
Details - There is a small bug in modules/usrloc/ul_rpc.c, function ul_rpc_add().
If the path parameter ist set to "0", LM_DBG(...,ci.patch->s, ...) is called with a null pointer. This crashes kamailio if loglevel >= 3.    

Easy to reproduce:

In kamailio.cfg set:
debug=3 (or greater)

Invoke kamcmd from shell:
$kamcmd ul.add location 1234 at location 'sip:1234 at 1.1.1.1:55555' 3600 1.0 **s:0** 0 0




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

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