Title: [145779] tags/Safari-537.33.3/Source/WebKit2
Revision
145779
Author
lforsch...@apple.com
Date
2013-03-13 18:54:09 -0700 (Wed, 13 Mar 2013)

Log Message

Merged r145042.  <rdar://problem/13363917>

Modified Paths

Diff

Modified: tags/Safari-537.33.3/Source/WebKit2/ChangeLog (145778 => 145779)


--- tags/Safari-537.33.3/Source/WebKit2/ChangeLog	2013-03-14 01:51:19 UTC (rev 145778)
+++ tags/Safari-537.33.3/Source/WebKit2/ChangeLog	2013-03-14 01:54:09 UTC (rev 145779)
@@ -1,3 +1,18 @@
+2013-03-13  Lucas Forschler  <lforsch...@apple.com>
+
+        Merge r145042
+
+    2013-03-06  Alexey Proskuryakov  <a...@apple.com>
+
+            SandboxExtension::createHandle raises an uncaught Objective-C exception if path is empty
+            https://bugs.webkit.org/show_bug.cgi?id=111689
+
+            Reviewed by Filip Pizlo.
+
+            * Shared/mac/SandboxExtensionMac.mm: (WebKit::SandboxExtension::createHandle):
+            Use a function from WebCore platform layer instead of Foundation one equivalent.
+            We already do this elsewhere in this file.
+
 2013-03-06  Gyuyoung Kim  <gyuyoung....@samsung.com>
 
         [EFL][WK2] Enable interactive form validation for email and url input type validation

Modified: tags/Safari-537.33.3/Source/WebKit2/Shared/mac/SandboxExtensionMac.mm (145778 => 145779)


--- tags/Safari-537.33.3/Source/WebKit2/Shared/mac/SandboxExtensionMac.mm	2013-03-14 01:51:19 UTC (rev 145778)
+++ tags/Safari-537.33.3/Source/WebKit2/Shared/mac/SandboxExtensionMac.mm	2013-03-14 01:54:09 UTC (rev 145779)
@@ -214,7 +214,8 @@
 {
     ASSERT(!handle.m_sandboxExtension);
 
-    CString standardizedPath = resolveSymlinksInPath([[(NSString *)path stringByStandardizingPath] fileSystemRepresentation]);
+    // FIXME: Do we need both resolveSymlinksInPath() and -stringByStandardizingPath?
+    CString standardizedPath = resolveSymlinksInPath(fileSystemRepresentation([(NSString *)path stringByStandardizingPath]));
     handle.m_sandboxExtension = WKSandboxExtensionCreate(standardizedPath.data(), wkSandboxExtensionType(type));
     if (!handle.m_sandboxExtension)
         WTFLogAlways("Could not create a sandbox extension for '%s'", path.utf8().data());
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to