[sr-dev] [tracker] Task opened: modules/usrloc crash kamailio 4.1 on startup if use_domain enabled (Attachment added)

sip-router bugtracker at sip-router.org
Fri Dec 6 17:18:45 CET 2013


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

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

User who did this - Seudin Kasumovic (seudin) 

Attached to Project - sip-router
Summary - modules/usrloc crash kamailio 4.1 on startup if use_domain enabled
Task Type - Bug Report
Category - Modules kamailio
Status - Unconfirmed
Assigned To - 
Operating System - Linux
Severity - Critical
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - Hi,

usrloc module crash kamailio 4.1 on startup if use_domain parameter enabled

Program terminated with signal 11, Segmentation fault.
#0  0xb6ca19e0 in uldb_preload_attrs (_d=0xb552131c) at udomain.c:1254
1254					if (VAL_NULL(ROW_VALUES(row)+6) || domain.s==0 || domain.s[0]==0){

here is added +6 instead of +5;
Fix is attached.

version: kamailio 4.1.0 (i386/linux) 
flags: STATS: Off, EXTRA_DEBUG, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id:  
compiled on 16:45:39 Dec  6 2013 with gcc 4.5.4


Regards,
Seudin


One or more files have been attached.

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

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