Title: [188627] trunk/Source/WebKit2
Revision
188627
Author
m...@apple.com
Date
2015-08-18 21:50:15 -0700 (Tue, 18 Aug 2015)

Log Message

[iOS] Safari’s Web Content process crashes when decoding an NSError containing an identity
https://bugs.webkit.org/show_bug.cgi?id=148135

Reviewed by Sam Weinig.

* Configurations/WebContent-iOS.entitlements: Added the com.apple.identities keychain
  access group. The Networking process already has it since r169655.

* UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(WebKit::WebProcessPool::platformInitialize): Always allow the UI process to decode keys.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (188626 => 188627)


--- trunk/Source/WebKit2/ChangeLog	2015-08-19 04:35:31 UTC (rev 188626)
+++ trunk/Source/WebKit2/ChangeLog	2015-08-19 04:50:15 UTC (rev 188627)
@@ -1,3 +1,16 @@
+2015-08-18  Dan Bernstein  <m...@apple.com>
+
+        [iOS] Safari’s Web Content process crashes when decoding an NSError containing an identity
+        https://bugs.webkit.org/show_bug.cgi?id=148135
+
+        Reviewed by Sam Weinig.
+
+        * Configurations/WebContent-iOS.entitlements: Added the com.apple.identities keychain
+          access group. The Networking process already has it since r169655.
+
+        * UIProcess/Cocoa/WebProcessPoolCocoa.mm:
+        (WebKit::WebProcessPool::platformInitialize): Always allow the UI process to decode keys.
+
 2015-08-18  Jincheol Jo  <jincheol...@navercorp.com>
 
         [EFL] Web Inspector: make to use StringBuilder in inspectorBaseURL

Modified: trunk/Source/WebKit2/Configurations/WebContent-iOS.entitlements (188626 => 188627)


--- trunk/Source/WebKit2/Configurations/WebContent-iOS.entitlements	2015-08-19 04:35:31 UTC (rev 188626)
+++ trunk/Source/WebKit2/Configurations/WebContent-iOS.entitlements	2015-08-19 04:50:15 UTC (rev 188627)
@@ -2,6 +2,10 @@
 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
+	<key>keychain-access-groups</key>
+	<array>
+		<string>com.apple.identities</string>
+	</array>
 	<key>com.apple.private.allow-explicit-graphics-priority</key>
 	<true/>
 	<key>com.apple.private.network.socket-delegate</key>

Modified: trunk/Source/WebKit2/UIProcess/Cocoa/WebProcessPoolCocoa.mm (188626 => 188627)


--- trunk/Source/WebKit2/UIProcess/Cocoa/WebProcessPoolCocoa.mm	2015-08-19 04:35:31 UTC (rev 188626)
+++ trunk/Source/WebKit2/UIProcess/Cocoa/WebProcessPoolCocoa.mm	2015-08-19 04:50:15 UTC (rev 188627)
@@ -53,6 +53,7 @@
 #endif
 
 #if PLATFORM(IOS)
+#import "ArgumentCodersCF.h"
 #import <WebCore/RuntimeApplicationChecksIOS.h>
 #else
 #import <QuartzCore/CARemoteLayerServer.h>
@@ -143,6 +144,7 @@
     registerNotificationObservers();
 
 #if PLATFORM(IOS)
+    IPC::setAllowsDecodingSecKeyRef(true);
     WebKit::WebMemoryPressureHandler::singleton();
 #endif
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to