Title: [243492] trunk/Source/WebKit
Revision
243492
Author
commit-qu...@webkit.org
Date
2019-03-26 05:09:50 -0700 (Tue, 26 Mar 2019)

Log Message

[WPE][Qt] Uninitialized racy ViewBackend
https://bugs.webkit.org/show_bug.cgi?id=196247

Patch by Philippe Normand <pnorm...@igalia.com> on 2019-03-26
Reviewed by Carlos Garcia Campos.

* UIProcess/API/wpe/qt/WPEQtView.h: Initialize the backend pointer to nullptr.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (243491 => 243492)


--- trunk/Source/WebKit/ChangeLog	2019-03-26 11:18:29 UTC (rev 243491)
+++ trunk/Source/WebKit/ChangeLog	2019-03-26 12:09:50 UTC (rev 243492)
@@ -1,3 +1,12 @@
+2019-03-26  Philippe Normand  <pnorm...@igalia.com>
+
+        [WPE][Qt] Uninitialized racy ViewBackend
+        https://bugs.webkit.org/show_bug.cgi?id=196247
+
+        Reviewed by Carlos Garcia Campos.
+
+        * UIProcess/API/wpe/qt/WPEQtView.h: Initialize the backend pointer to nullptr.
+
 2019-03-26  Carlos Garcia Campos  <cgar...@igalia.com>
 
         Unreviewed. Fix typo in GLib geolocation API after r243285.

Modified: trunk/Source/WebKit/UIProcess/API/wpe/qt/WPEQtView.h (243491 => 243492)


--- trunk/Source/WebKit/UIProcess/API/wpe/qt/WPEQtView.h	2019-03-26 11:18:29 UTC (rev 243491)
+++ trunk/Source/WebKit/UIProcess/API/wpe/qt/WPEQtView.h	2019-03-26 12:09:50 UTC (rev 243492)
@@ -115,6 +115,6 @@
     QString m_html;
     QUrl m_baseUrl;
     QSizeF m_size;
-    WPEQtViewBackend* m_backend;
+    WPEQtViewBackend* m_backend { nullptr };
     bool m_errorOccured { false };
 };
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to