[gnome-build-meta/mcatanzaro/webkit-236209: 3/3] Add patch for WebKitGTK network process crash
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/mcatanzaro/webkit-236209: 3/3] Add patch for WebKitGTK network process crash
- Date: Wed, 9 Feb 2022 10:15:18 +0000 (UTC)
commit 13474a8e869ef56568fef8ebf7f4e7daf00acd00
Author: Michael Catanzaro <mcatanzaro redhat com>
Date: Tue Feb 8 18:49:25 2022 -0600
Add patch for WebKitGTK network process crash
https://bugs.webkit.org/show_bug.cgi?id=236209
Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1517>
elements/sdk/webkitgtk.inc | 2 ++
files/webkitgtk/webkit-236209.patch | 11 +++++++++++
2 files changed, 13 insertions(+)
---
diff --git a/elements/sdk/webkitgtk.inc b/elements/sdk/webkitgtk.inc
index 8ebb79198..71022d96b 100644
--- a/elements/sdk/webkitgtk.inc
+++ b/elements/sdk/webkitgtk.inc
@@ -6,6 +6,8 @@ sources:
path: files/webkitgtk/toolchain.i686
- kind: local
path: files/webkitgtk/toolchain.arm
+- kind: patch
+ path: files/webkitgtk/webkit-236209.patch
build-depends:
- sdk-deps/bubblewrap.bst
diff --git a/files/webkitgtk/webkit-236209.patch b/files/webkitgtk/webkit-236209.patch
new file mode 100644
index 000000000..e0ea17c26
--- /dev/null
+++ b/files/webkitgtk/webkit-236209.patch
@@ -0,0 +1,11 @@
+Index: /Source/WebKit/NetworkProcess/storage/OriginStorageManager.cpp
+===================================================================
+--- /Source/WebKit/NetworkProcess/storage/OriginStorageManager.cpp (revision 289199)
++++ /Source/WebKit/NetworkProcess/storage/OriginStorageManager.cpp (revision 289200)
+@@ -247,5 +247,5 @@
+ void deleteLocalStorageData(WallTime time)
+ {
+- if (auto modificationTime = FileSystem::fileModificationTime(m_localStoragePath); *modificationTime
= time) {
++ if (FileSystem::fileModificationTime(m_localStoragePath) >= time) {
+ if (m_localStorageManager)
+ m_localStorageManager->clearDataOnDisk();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]