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

snuffy asteriskteam at digium.com
Thu May 14 22:29:23 CDT 2015


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

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 so, ensure we have endpoint before asking for its AORs.

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/2
-- 
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: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: snuffy <snuffy22 at gmail.com>



More information about the asterisk-code-review mailing list