[sr-dev] [kamailio/kamailio] Kamailio crashes on NAPTR lookup (#1680)

Joonas Keskitalo notifications at github.com
Fri Oct 19 08:37:21 CEST 2018


Just tested new patch and it seems to fix the problem. Thank you for your fast fix.

```
kamcmd> dns.lookup NAPTR sip.fi.setera.com
{
	name: sip.example.com
	type: NAPTR
	size_bytes: 312
	reference_counter: 2
	permanent: no
	expires: 3541
	last_used: 0
	negative_entry: no
	records: {
		{
			rr_idx: 0
			rr_order: 100
			rr_preference: 50
			rr_flags: s
			rr_service: SIP+D2U
			rr_regexp: 
			rr_regexp: _sip._udp.sip.example.com
			rr_permanent: no
			rr_expires: 3541
		}
		{
			rr_idx: 1
			rr_order: 102
			rr_preference: 50
			rr_flags: s
			rr_service: SIP+D2T
			rr_regexp: 
			rr_regexp: _sip._tcp.sip.example.com
			rr_permanent: no
			rr_expires: 3541
		}
	}
}
```

```
# kamailio -v
version: kamailio 5.2.0-pre0 (x86_64/linux) 044cde
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, 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_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 044cde 
compiled on 06:23:13 Oct 19 2018 with gcc 6.3.0
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1680#issuecomment-431260177
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181019/cd4e6612/attachment.html>


More information about the sr-dev mailing list