[asterisk-bugs] [JIRA] (ASTERISK-25018) pjsip show endpoints crashes asterisk when qualified aors present

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Jul 27 10:24:11 CDT 2016


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

Asterisk Team updated ASTERISK-25018:
-------------------------------------

    Target Release Version/s: 14.0.0

> pjsip show endpoints crashes asterisk when qualified aors present
> -----------------------------------------------------------------
>
>                 Key: ASTERISK-25018
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25018
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip, pjproject/pjsip
>    Affects Versions: 13.4.0
>         Environment: Asterisk built from master branch (835cf047) on Debian 7 x86_64
>            Reporter: Ivan Poddubny
>            Assignee: George Joseph
>      Target Release: 13.4.0, 14.0.0
>
>
> Running "pjsip show endpoints" or "pjsip show endpoint XXX" soon after starting Asterisk, where XXX is an endpoint which has 'qualify_frequency' set on aor, leads to segfault in res/res_pjsip/location.c:754 (in function cli_contact_print_body).
> The following code is trying to access status->status while status is NULL.
> {quote}
>                ast_sip_get_contact_short_status_label(status->status),
>                (status->status != UNKNOWN ? ((long long) status->rtt) / 1000.0 : NAN));
> {quote}
> This looks like a regression introduced by https://gerrit.asterisk.org/#/c/147/
> Contact status must always exist in order to be printed.



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



More information about the asterisk-bugs mailing list