<div dir="ltr"><div style>In 4.x, Following message is crashing the Kamailio.</div><div style><br></div><div>MESSAGE sip:50.62.12.174:15060;transport=udp SIP/2.0..Via: SIP/2.0/UDP 50.62.72.174:15060;branch=z9hG4bK3333.defaafa4.0..Via: SIP/2.0/UDP 50.62.72.174:15060;branch=z9hG4bK3333.cefaafa4.0..</div>
<div>  Via: SIP/2.0/UDP 50.62.12.174:15060;branch=z9hG4bK3333.befaafa4.0..</div><div>  Via: SIP/2.0/UDP 50.62.12.174:15060;branch=z9hG4bK3333.aefaafa4.0..</div><div>  Via: SIP/2.0/UDP 50.62.12.174:15060;branch=z9hG4bK33339efaafa4.0..</div>
<div>  Via: SIP/2.0/UDP 50.62.12.174:15060;branch=z9hG4bK3333.8efaafa4.0..</div><div>  Via: SIP/2.0/UDP 50.62.12.174:15060;branch=z9hG4bK3333.7efaafa4.0..</div><div>  Via: SIP/2.0/UDP 50.62.12.174;branch=z9hk4bK3333.4b488206.0..</div>
<div>  Via: SIP/2.0/UDP 50.62.12.174;rport=5060;branch=z9hG4bK3333.3b488206.0..</div><div>To: <a href="mailto:sip%3A578626051@50.62.12.174">sip:578626051@50.62.12.174</a>..</div><div>From: <a href="mailto:sip%3Anotifier@abc.com">sip:notifier@abc.com</a>;tag=5571efee096a394dda7d0dffc5bb</div>
<div>  32a5-c771..CSeq: 10 MESSAGE..Call-ID: presence-T[578626051]-R[578626051]..Max-Forwards:  9..Co</div><div>  ntent-Length: 110..User-Agent: kamailio (4.0.1 (x86_64/linux))..Content-Type: text/html; chars</div><div>  et=utf-8.</div>
<div><br></div><div style>stack trace:</div><div style><br></div><div style><div>#0  qm_detach_free (qm=0x2ac39d748010, size=64) at mem/q_malloc.c:269</div><div>#1  qm_malloc (qm=0x2ac39d748010, size=64) at mem/q_malloc.c:386</div>
<div>#2  0x0000000000560fa1 in parse_via (</div><div>    buffer=0x8c6a3b "SIP/2.0/UDP 50.62.72.174:15060;branch=z9hG4bK3333.defaafa4.0\r\nVia: SIP/2.0/UDP 50.62.72.174:15060;branch=z9hG4bK3333.cefaafa4.0\r\nVia: SIP/2.0/UDP 50.62.72.174:15060;branch=z9hG4bK3333.befaafa4.0\r\nVia:"..., end=0x8c6e31 "", vbody=0x2ac39d769e90)</div>
<div>    at parser/parse_via.c:2540</div><div>#3  0x0000000000538e68 in get_hdr_field (buf=<value optimized out>, end=0x8c6e31 "", </div><div>    hdr=0x2ac39d7999c0) at parser/msg_parser.c:140</div><div>#4  0x0000000000539ac9 in parse_headers (msg=0x2ac39d78a100, flags=2, next=<value optimized out>)</div>
<div>    at parser/msg_parser.c:351</div><div>#5  0x000000000053af8d in parse_msg (buf=<value optimized out>, len=<value optimized out>, </div><div>    msg=0x2ac39d78a100) at parser/msg_parser.c:650</div><div>
#6  0x000000000049a2ef in receive_msg (</div><div>    buf=0x8c6a00 "MESSAGE sip:50.62.72.174:15060;transport=udp SIP/2.0\r\nVia: SIP/2.0/UDP 50.62.72.174:15060;branch=z9hG4bK3333.defaafa4.0\r\nVia: SIP/2.0/UDP 50.62.72.174:15060;branch=z9hG4bK3333.cefaafa4.0\r\nVia: SIP/2.0"..., len=1073, rcv_info=0x7fffb40ab770) at receive.c:144</div>
<div>#7  0x0000000000528666 in udp_rcv_loop () at udp_server.c:557</div><div>#8  0x0000000000464daa in main_loop () at main.c:1638</div><div>#9  0x0000000000467adc in main (argc=<value optimized out>, argv=<value optimized out>)</div>
<div><br></div></div></div>