[asterisk-bugs] [JIRA] (ASTERISK-25018) pjsip show endpoints crashes asterisk when qualified aors present
Ivan Poddubny (JIRA)
noreply at issues.asterisk.org
Mon Apr 27 13:25:33 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226019#comment-226019 ]
Ivan Poddubny commented on ASTERISK-25018:
------------------------------------------
I've tested the patch and confirm that it fixes this issue.
> 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: Ivan Poddubny
>
> 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