Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sca: fix core when HDR_CSEQ not parsed #790

Merged
merged 2 commits into from Sep 21, 2016

Conversation

linuxmaniac
Copy link
Member

Program terminated with signal SIGSEGV, Segmentation fault.

0 0x00007f1820227bae in sca_call_info_update (msg=0x7f1828635930, p1=0x0, p2=0x0, p3=0x7f1828635930 "\001") at sca_call_info.c:1845

1845 LM_DBG("BUG: sca module does not support Call-Info headers "
(gdb) p msg->cseq
$1 = (struct hdr_field *) 0x0
(gdb) p msg->first_line.u.request->method
$2 = {
s = 0xa33540 "SUBSCRIBE sip:30@127.0.0.1:5060 SIP/2.0\r\nVia: SIP/2.0/UDP 172.17.0.2:5061;branch=z9hG4bK-2884-1-0\r\nFrom: sipp sip:sipp@172.17.0.2:5061;tag=2884SIPpTag001\r\nTo: sut sip:30@127.0.0.1:5060\r\nCall-ID: 1"..., len = 9}

> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x00007f1820227bae in sca_call_info_update (msg=0x7f1828635930, p1=0x0, p2=0x0, p3=0x7f1828635930 "\001") at sca_call_info.c:1845
> 1845			LM_DBG("BUG: sca module does not support Call-Info headers "
> (gdb) p msg->cseq
> $1 = (struct hdr_field *) 0x0
> (gdb) p msg->first_line.u.request->method
> $2 = {
>  s = 0xa33540 <buf> "SUBSCRIBE sip:30@127.0.0.1:5060 SIP/2.0\r\nVia: SIP/2.0/UDP 172.17.0.2:5061;branch=z9hG4bK-2884-1-0\r\nFrom: sipp <sip:sipp@172.17.0.2:5061>;tag=2884SIPpTag001\r\nTo: sut <sip:30@127.0.0.1:5060>\r\nCall-ID: 1"..., len = 9}
@linuxmaniac linuxmaniac merged commit aca92cf into kamailio:master Sep 21, 2016
@linuxmaniac linuxmaniac deleted the vseva/fix_sca branch September 21, 2016 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant