[asterisk-bugs] [JIRA] (ASTERISK-28620) Segfault in chan_pjsip on pj_strcmp when filtering a transmit message

George Joseph (JIRA) noreply at issues.asterisk.org
Fri Nov 15 09:39:32 CST 2019


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

George Joseph updated ASTERISK-28620:
-------------------------------------

    Status: Open  (was: Triage)

> Segfault in chan_pjsip on pj_strcmp when filtering a transmit message
> ---------------------------------------------------------------------
>
>                 Key: ASTERISK-28620
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28620
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.29.1, GIT
>         Environment: CentOS 7.6
>            Reporter: Ross Beer
>            Severity: Minor
>
> Segfault while comparing strings during filtering transmit messages:
> {noformat}
> Thread 1 (Thread 0x7f52ee277700 (LWP 125559)):
> #0  0x00007f560b235594 in pj_strcmp (str1=0x20202020200902c4, str2=0x7f52ee2768c0) at ../include/pj/string_i.h:148
> #1  0x00007f560b235775 in pj_strcmp2 (str1=0x20202020200902c4, str2=0x7f540e35c15f "IP4") at ../include/pj/string_i.h:211
>         copy2 = {ptr = 0x7f540e35c15f "IP4", slen = 3}
> #2  0x00007f540e337ae6 in multihomed_rewrite_sdp (sdp=0x7f551c0694c8) at res_pjsip/pjsip_message_filter.c:151
> #3  0x00007f540e3384d8 in filter_on_tx_message (tdata=0x7f52b2b015b8) at res_pjsip/pjsip_message_filter.c:321
>         restrictions = 0x0
>         prm = {tp_type = PJSIP_TRANSPORT_UDP, tp_sel = 0x0, dst_host = {ptr = 0x7f52b2b01d48 "194.54.8.157", slen = 12}, local_if = 1, ret_addr = {ptr = 0x2f050e8 "185.91.41.30", slen = 12}, ret_port = 5060, ret_tp = 0x2f04f28}
>         cseq = 0x7f52ee276a40
>         via = 0x7f551c07d5e0
>         from = 0x7f52b2b02038
> {noformat}



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



More information about the asterisk-bugs mailing list