From 053191e33c74fa6b9a0581440b939039975414b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Tue, 17 Mar 2015 14:22:33 -0400
Subject: [PATCH] sipcall: handle null ice transport

Refs #68669

Change-Id: I7711a45bfa1655b39e0c939042430d4715524a67
---
 daemon/src/sip/sipcall.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/daemon/src/sip/sipcall.cpp b/daemon/src/sip/sipcall.cpp
index 03fdeb8315..12eaee3b97 100644
--- a/daemon/src/sip/sipcall.cpp
+++ b/daemon/src/sip/sipcall.cpp
@@ -714,6 +714,8 @@ SIPCall::getAllRemoteCandidates()
 bool
 SIPCall::startIce()
 {
+    if (not iceTransport_)
+        return false;
     if (iceTransport_->isStarted() || iceTransport_->isCompleted()) {
         RING_DBG("ICE already started");
         return true;
-- 
GitLab