Title: [95690] trunk/Source/WebKit2
- Revision
- 95690
- Author
- a...@apple.com
- Date
- 2011-09-21 18:01:26 -0700 (Wed, 21 Sep 2011)
Log Message
[WK2] UIProcess should check that WebProcess isn't sending unexpected file: URLs to it
https://bugs.webkit.org/show_bug.cgi?id=68573
Unreviewed follow-up fix.
* UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::checkURLReceivedFromWebProcess):
Just like we allow null URLs, also allow empty strings.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (95689 => 95690)
--- trunk/Source/WebKit2/ChangeLog 2011-09-22 00:17:45 UTC (rev 95689)
+++ trunk/Source/WebKit2/ChangeLog 2011-09-22 01:01:26 UTC (rev 95690)
@@ -1,3 +1,13 @@
+2011-09-21 Alexey Proskuryakov <a...@apple.com>
+
+ [WK2] UIProcess should check that WebProcess isn't sending unexpected file: URLs to it
+ https://bugs.webkit.org/show_bug.cgi?id=68573
+
+ Unreviewed follow-up fix.
+
+ * UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::checkURLReceivedFromWebProcess):
+ Just like we allow null URLs, also allow empty strings.
+
2011-09-21 Julien Chaffraix <jchaffr...@webkit.org>
Crash in RenderBox::paintMaskImages when GraphicsContext's painting is disabled
Modified: trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp (95689 => 95690)
--- trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp 2011-09-22 00:17:45 UTC (rev 95689)
+++ trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp 2011-09-22 01:01:26 UTC (rev 95690)
@@ -216,6 +216,9 @@
bool WebProcessProxy::checkURLReceivedFromWebProcess(const String& urlString)
{
+ if (urlString.isEmpty())
+ return true;
+
return checkURLReceivedFromWebProcess(KURL(KURL(), urlString));
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes