[asterisk-bugs] [JIRA] (ASTERISK-26832) res_pjsip: Segfault when calling pjsip_hdr_print_on in sip_msg.c:581

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Jan 17 12:28:50 CST 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=241628#comment-241628 ] 

Friendly Automation commented on ASTERISK-26832:
------------------------------------------------

Change 7976 merged by Joshua Colp:
pjproject_bundled:  Prevent crash on bad outgoing header

[https://gerrit.asterisk.org/7976|https://gerrit.asterisk.org/7976]

> res_pjsip: Segfault when calling pjsip_hdr_print_on in sip_msg.c:581
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-26832
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26832
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.14.0, 13.18.5, GIT
>         Environment: CentOS 6
>            Reporter: Ross Beer
>            Assignee: George Joseph
>              Labels: pjsip
>         Attachments: backtrace_20170203_clean.txt
>
>
> A segfault is thrown regularly  when sending ‘183 Session Progress’ messages.
> The issue happens in sip_msg.c here:
> {noformat}
> PJ_DEF(int) pjsip_hdr_print_on( void *hdr_ptr, char *buf, pj_size_t len)
> {
>     pjsip_hdr *hdr = (pjsip_hdr*) hdr_ptr;
>     return (*hdr->vptr->print_on)(hdr_ptr, buf, len); <<< HERE
> }
> {noformat}
> Please see attached backtrace.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list