From c5bb22395cc7a22b451fff0d968e7af7f759cde8 Mon Sep 17 00:00:00 2001 From: "buildbot@webrtc.org" Date: Thu, 8 May 2014 16:00:58 +0000 Subject: [PATCH] (Auto)update libjingle 66424806-> 66523513 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6078 4adac7df-926f-26a2-2b94-8c16560cd09d --- talk/p2p/client/basicportallocator.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/talk/p2p/client/basicportallocator.cc b/talk/p2p/client/basicportallocator.cc index ef67e30102..12d70a3575 100644 --- a/talk/p2p/client/basicportallocator.cc +++ b/talk/p2p/client/basicportallocator.cc @@ -1081,8 +1081,11 @@ void AllocationSequence::OnResolvedTurnServerAddress( const talk_base::SocketAddress& resolved_server_address) { std::map::iterator iter; iter = turn_ports_.find(server_address); + if (iter == turn_ports_.end()) { + LOG(LS_INFO) << "TurnPort entry is not found in the map."; + return; + } - ASSERT(iter != turn_ports_.end()); ASSERT(iter->second == port); // Remove old entry and then insert using the resolved address as key. turn_ports_.erase(iter);