summaryrefslogtreecommitdiffstats
path: root/main/webkit/cve-2010-3116.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/webkit/cve-2010-3116.patch')
-rw-r--r--main/webkit/cve-2010-3116.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/main/webkit/cve-2010-3116.patch b/main/webkit/cve-2010-3116.patch
new file mode 100644
index 000000000..73639baeb
--- /dev/null
+++ b/main/webkit/cve-2010-3116.patch
@@ -0,0 +1,17 @@
+description: fix cve-2010-3116
+author: Michael Gilbert <michael.s.gilbert@gmail.com>
+origin: http://trac.webkit.org/changeset/64293
+Index: webkit-1.2.4/WebCore/page/Page.cpp
+===================================================================
+--- webkit-1.2.4.orig/WebCore/page/Page.cpp 2010-09-03 15:18:06.000000000 -0400
++++ webkit-1.2.4/WebCore/page/Page.cpp 2010-09-06 22:11:32.000000000 -0400
+@@ -192,6 +192,9 @@
+ frame->pageDestroyed();
+
+ m_editorClient->pageDestroyed();
++ if (m_pluginData)
++ m_pluginData->disconnectPage();
++
+ #if ENABLE(INSPECTOR)
+ m_inspectorController->inspectedPageDestroyed();
+ #endif