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

snuffy asteriskteam at digium.com
Sat May 16 19:22:40 CDT 2015


Hello Ashley Sanders, Joshua Colp, Corey Farrell,

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

    https://gerrit.asterisk.org/475

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

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

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

Add missing return -1 when we find the endpoint empty.

ASTERISK-25086 #close
Reported by: snuffy

Change-Id: I9de76c2935a1f4e3f0cffe97a670106f5605e89e
---
M channels/chan_pjsip.c
M res/res_pjsip_session.c
2 files changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/75/475/6
-- 
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: 6
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: snuffy <snuffy22 at gmail.com>
Gerrit-Reviewer: Ashley Sanders <asanders at digium.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>



More information about the asterisk-code-review mailing list