Title: [213552] trunk/Source/ThirdParty/libwebrtc
Revision
213552
Author
[email protected]
Date
2017-03-07 16:54:33 -0800 (Tue, 07 Mar 2017)

Log Message

TurnPort::OnSocketConnect is crashing
https://bugs.webkit.org/show_bug.cgi?id=169284

Patch by Youenn Fablet <[email protected]> on 2017-03-07
Reviewed by Eric Carlson.

* Source/webrtc/p2p/base/turnport.cc: Fixing the assertion.

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/libwebrtc/ChangeLog (213551 => 213552)


--- trunk/Source/ThirdParty/libwebrtc/ChangeLog	2017-03-08 00:41:27 UTC (rev 213551)
+++ trunk/Source/ThirdParty/libwebrtc/ChangeLog	2017-03-08 00:54:33 UTC (rev 213552)
@@ -1,3 +1,12 @@
+2017-03-07  Youenn Fablet  <[email protected]>
+
+        TurnPort::OnSocketConnect is crashing
+        https://bugs.webkit.org/show_bug.cgi?id=169284
+
+        Reviewed by Eric Carlson.
+
+        * Source/webrtc/p2p/base/turnport.cc: Fixing the assertion.
+
 2017-03-06  Youenn Fablet  <[email protected]>
 
         Bring back WebKit specific changes to disable temporarily libwebrtc video adaptation

Modified: trunk/Source/ThirdParty/libwebrtc/Source/webrtc/p2p/base/turnport.cc (213551 => 213552)


--- trunk/Source/ThirdParty/libwebrtc/Source/webrtc/p2p/base/turnport.cc	2017-03-08 00:41:27 UTC (rev 213551)
+++ trunk/Source/ThirdParty/libwebrtc/Source/webrtc/p2p/base/turnport.cc	2017-03-08 00:54:33 UTC (rev 213552)
@@ -375,7 +375,8 @@
 }
 
 void TurnPort::OnSocketConnect(rtc::AsyncPacketSocket* socket) {
-  RTC_DCHECK(server_address_.proto == PROTO_TCP);
+  // WEBKIT Change
+  RTC_DCHECK(server_address_.proto == PROTO_TCP || server_address_.proto == PROTO_TLS);
   // Do not use this port if the socket bound to a different address than
   // the one we asked for. This is seen in Chrome, where TCP sockets cannot be
   // given a binding address, and the platform is expected to pick the
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to