[Asterisk-code-review] Fix segfault if Dial() is used on PJSIP and endpoint was uns... (asterisk[13])

snuffy asteriskteam at digium.com
Fri May 15 02:25:42 CDT 2015


snuffy has uploaded a new patch set (#4).

Change subject: Fix segfault if Dial() is used on PJSIP and endpoint was unspecified.
......................................................................

Fix segfault if Dial() is used on PJSIP and endpoint was unspecified.

This could happen when the dialplan variable for endpoint is not set,
causing us to try to reference AORs of an non-existant endpoint.

Change this to ensure we have endpoint before asking for its AORs.

ASTERISK-25086 #close

Change-Id: I9de76c2935a1f4e3f0cffe97a670106f5605e89e
---
M res/res_pjsip_session.c
1 file changed, 5 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/76/476/4
-- 
To view, visit https://gerrit.asterisk.org/476
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9de76c2935a1f4e3f0cffe97a670106f5605e89e
Gerrit-PatchSet: 4
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: snuffy <snuffy22 at gmail.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>



More information about the asterisk-code-review mailing list