Title: [153828] trunk/Source/WebCore
Revision
153828
Author
allan.jen...@digia.com
Date
2013-08-08 10:38:06 -0700 (Thu, 08 Aug 2013)

Log Message

[WK1] NPStream::headers not initialized
https://bugs.webkit.org/show_bug.cgi?id=119574

Reviewed by Alexey Proskuryakov.

Initialize the header field. According to user feedback that should solve some
cases of random crashes when loading plugins on Mac and Windows.

* plugins/PluginStream.cpp:
(WebCore::PluginStream::PluginStream):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (153827 => 153828)


--- trunk/Source/WebCore/ChangeLog	2013-08-08 17:27:46 UTC (rev 153827)
+++ trunk/Source/WebCore/ChangeLog	2013-08-08 17:38:06 UTC (rev 153828)
@@ -1,3 +1,16 @@
+2013-08-08  Allan Sandfeld Jensen  <allan.jen...@digia.com>
+
+        [WK1] NPStream::headers not initialized
+        https://bugs.webkit.org/show_bug.cgi?id=119574
+
+        Reviewed by Alexey Proskuryakov.
+
+        Initialize the header field. According to user feedback that should solve some
+        cases of random crashes when loading plugins on Mac and Windows.
+
+        * plugins/PluginStream.cpp:
+        (WebCore::PluginStream::PluginStream):
+
 2013-08-08  Andreas Kling  <akl...@apple.com>
 
         Element: Modernize attribute storage accessor functions.

Modified: trunk/Source/WebCore/plugins/PluginStream.cpp (153827 => 153828)


--- trunk/Source/WebCore/plugins/PluginStream.cpp	2013-08-08 17:27:46 UTC (rev 153827)
+++ trunk/Source/WebCore/plugins/PluginStream.cpp	2013-08-08 17:38:06 UTC (rev 153828)
@@ -77,6 +77,7 @@
     m_stream.end = 0;
     m_stream.notifyData = 0;
     m_stream.lastmodified = 0;
+    m_stream.headers = 0;
 
     streams().add(&m_stream, m_instance);
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to