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

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Mon Apr 1 13:22:00 CDT 2019


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Harwell updated ASTERISK-26832:
-------------------------------------

    Target Release Version/s: 16.3.0

> 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
>      Target Release: 13.20.0, 15.3.0, 16.0.0, 16.3.0
>
>         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