[asterisk-bugs] [JIRA] (ASTERISK-25086) PJSIP crashes if endpoint missing in Dial()
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Thu May 14 12:15:32 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Mudgett updated ASTERISK-25086:
---------------------------------------
Description:
If a variable was missing
{noformat}
exten => 733,1,Dial(PJSIP/${EXTEN}@${NOTHERE},10)
exten => 733,n,Hangup
{noformat}
Dial would become
{noformat}
Dial("PJSIP/xxxx", "PJSIP/733@,10")
{noformat}
Segfault occurs..
{noformat}
#0 ast_sip_session_create_outgoing (endpoint=endpoint at entry=0x0, contact=contact at entry=0x0, location=0x0,
request_user=request_user at entry=0x7fcd4a78bcb0 "1300786786", req_caps=0x7fcd580033d8) at res_pjsip_session.c:1447
1447 location = S_OR(location, endpoint->aors);
{noformat}
was:
If a variable was missing
exten => 733,1,Dial(PJSIP/${EXTEN}@${NOTHERE},10)
exten => 733,n,Hangup
Dial would become
Dial("PJSIP/xxxx", "PJSIP/733@,10")
Segfault occurs..
#0 ast_sip_session_create_outgoing (endpoint=endpoint at entry=0x0, contact=contact at entry=0x0, location=0x0,
request_user=request_user at entry=0x7fcd4a78bcb0 "1300786786", req_caps=0x7fcd580033d8) at res_pjsip_session.c:1447
1447 location = S_OR(location, endpoint->aors);
> PJSIP crashes if endpoint missing in Dial()
> -------------------------------------------
>
> Key: ASTERISK-25086
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25086
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip_session
> Affects Versions: SVN, 13.0.0
> Reporter: snuffy
> Severity: Minor
> Attachments: pjsip-crash.diff
>
>
> If a variable was missing
> {noformat}
> exten => 733,1,Dial(PJSIP/${EXTEN}@${NOTHERE},10)
> exten => 733,n,Hangup
> {noformat}
> Dial would become
> {noformat}
> Dial("PJSIP/xxxx", "PJSIP/733@,10")
> {noformat}
> Segfault occurs..
> {noformat}
> #0 ast_sip_session_create_outgoing (endpoint=endpoint at entry=0x0, contact=contact at entry=0x0, location=0x0,
> request_user=request_user at entry=0x7fcd4a78bcb0 "1300786786", req_caps=0x7fcd580033d8) at res_pjsip_session.c:1447
> 1447 location = S_OR(location, endpoint->aors);
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list