Title: [165240] trunk/Source/WebCore
Revision
165240
Author
[email protected]
Date
2014-03-06 18:21:29 -0800 (Thu, 06 Mar 2014)

Log Message

[iOS] Crash on launch with website restrictions enabled
https://bugs.webkit.org/show_bug.cgi?id=129854
<rdar://problem/16207016>

Reviewed by Simon Fraser.

* platform/mac/ContentFilterMac.mm:
(WebCore::ContentFilter::ContentFilter): Initialize m_neFilterSourceQueue so that we don't
crash in the dtor due to garbage value in the field.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (165239 => 165240)


--- trunk/Source/WebCore/ChangeLog	2014-03-07 02:18:38 UTC (rev 165239)
+++ trunk/Source/WebCore/ChangeLog	2014-03-07 02:21:29 UTC (rev 165240)
@@ -1,3 +1,15 @@
+2014-03-06  Pratik Solanki  <[email protected]>
+
+        [iOS] Crash on launch with website restrictions enabled
+        https://bugs.webkit.org/show_bug.cgi?id=129854
+        <rdar://problem/16207016>
+
+        Reviewed by Simon Fraser.
+
+        * platform/mac/ContentFilterMac.mm:
+        (WebCore::ContentFilter::ContentFilter): Initialize m_neFilterSourceQueue so that we don't
+        crash in the dtor due to garbage value in the field.
+
 2014-03-06  Simon Fraser  <[email protected]>
 
         Minor optimization in ScrollingTreeScrollingNodeMac

Modified: trunk/Source/WebCore/platform/mac/ContentFilterMac.mm (165239 => 165240)


--- trunk/Source/WebCore/platform/mac/ContentFilterMac.mm	2014-03-07 02:18:38 UTC (rev 165239)
+++ trunk/Source/WebCore/platform/mac/ContentFilterMac.mm	2014-03-07 02:21:29 UTC (rev 165240)
@@ -93,6 +93,7 @@
 ContentFilter::ContentFilter(const ResourceResponse& response)
 #if HAVE(NE_FILTER_SOURCE)
     : m_neFilterSourceStatus(NEFilterSourceStatusNeedsMoreData)
+    , m_neFilterSourceQueue(0)
 #endif
 {
     if ([getWebFilterEvaluatorClass() isManagedSession])
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to