[asterisk-bugs] [JIRA] (ASTERISK-28402) res_pjsip_registrar: SEGV in registrar_find_contact
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Wed Aug 28 11:47:50 CDT 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-28402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Asterisk Team updated ASTERISK-28402:
-------------------------------------
Target Release Version/s: 17.0.0
> res_pjsip_registrar: SEGV in registrar_find_contact
> ---------------------------------------------------
>
> Key: ASTERISK-28402
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28402
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip_registrar
> Affects Versions: 13.26.0, GIT
> Environment: CentOS 7
> Reporter: Ross Beer
> Assignee: George Joseph
> Labels: pjsip
> Target Release: 13.27.0, 16.4.0, 17.0.0
>
>
> Multiple Asterisk instances all crashed when receiving a register from an endpoint with the same contact_uri:
> {noformat}
> contact_uri = 0x7fc601192540 "sip:<user>@<IP ADDRESS>:18278;transport=TCP;app-id=929724111839;pn-type=firebase;pn-tok=dm50F_axqHM:APA91bEcOCDKDjzqSaKJycnjVtunl7fV8tsf5ERUFxB6KWvppJNh-bN3NYhMVhrDgVyXy4Kf_bsasntpuKgJmIWyNMK0IEzd"...
> {noformat}
> This contact somehow leads to a null pointer being compared which causes an Asterisk segfault:
> {noformat}
> #0 0x00007fc8061bc189 in pjsip_url_compare (context=PJSIP_URI_IN_CONTACT_HDR, url1=0x7fc71fada0c8, url2=0x0) at ../src/pjsip/sip_uri.c:400
> {noformat}
> I
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list