Title: [208140] trunk/Source/WebCore
Revision
208140
Author
[email protected]
Date
2016-10-31 01:32:34 -0700 (Mon, 31 Oct 2016)

Log Message

fast/mediastream/RTCPeerConnection-* tests crashing under ASan
https://bugs.webkit.org/show_bug.cgi?id=164215

Patch by Youenn Fablet <[email protected]> on 2016-10-31
Reviewed by Philippe Normand.

Covered by ASAN bot tests.

* platform/mediastream/SDPProcessorScriptResource.cpp:
(WebCore::SDPProcessorScriptResource::scriptString):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (208139 => 208140)


--- trunk/Source/WebCore/ChangeLog	2016-10-31 07:53:30 UTC (rev 208139)
+++ trunk/Source/WebCore/ChangeLog	2016-10-31 08:32:34 UTC (rev 208140)
@@ -1,3 +1,15 @@
+2016-10-31  Youenn Fablet  <[email protected]>
+
+        fast/mediastream/RTCPeerConnection-* tests crashing under ASan
+        https://bugs.webkit.org/show_bug.cgi?id=164215
+
+        Reviewed by Philippe Normand.
+
+        Covered by ASAN bot tests.
+
+        * platform/mediastream/SDPProcessorScriptResource.cpp:
+        (WebCore::SDPProcessorScriptResource::scriptString):
+
 2016-10-28  Philippe Normand  <[email protected]>
 
         [OpenWebRTC] Initialize library one time only

Modified: trunk/Source/WebCore/platform/mediastream/SDPProcessorScriptResource.cpp (208139 => 208140)


--- trunk/Source/WebCore/platform/mediastream/SDPProcessorScriptResource.cpp	2016-10-31 07:53:30 UTC (rev 208139)
+++ trunk/Source/WebCore/platform/mediastream/SDPProcessorScriptResource.cpp	2016-10-31 08:32:34 UTC (rev 208140)
@@ -42,7 +42,7 @@
 
 const String& scriptString()
 {
-    static NeverDestroyed<const String> script = String(sdpJavaScript);
+    static NeverDestroyed<const String> script(sdpJavaScript, sizeof(sdpJavaScript));
     return script;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to