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

snuffy asteriskteam at digium.com
Fri May 15 02:29:53 CDT 2015


Hello Corey Farrell,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/475

to look at the new patch set (#5).

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-existent 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/75/475/5
-- 
To view, visit https://gerrit.asterisk.org/475
To unsubscribe, visit https://gerrit.asterisk.org/settings

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



More information about the asterisk-code-review mailing list