Title: [191414] trunk/Source/WebKit2
- Revision
- 191414
- Author
- [email protected]
- Date
- 2015-10-21 17:02:01 -0700 (Wed, 21 Oct 2015)
Log Message
WebProcess crashes when accessibility bundle is not found.
https://bugs.webkit.org/show_bug.cgi?id=150414
Reviewed by Dan Bernstein.
The uninitialized pointer to NSError causes the print function to crash.
* WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::registerWithAccessibility):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (191413 => 191414)
--- trunk/Source/WebKit2/ChangeLog 2015-10-21 23:54:32 UTC (rev 191413)
+++ trunk/Source/WebKit2/ChangeLog 2015-10-22 00:02:01 UTC (rev 191414)
@@ -1,3 +1,15 @@
+2015-10-21 Enrica Casucci <[email protected]>
+
+ WebProcess crashes when accessibility bundle is not found.
+ https://bugs.webkit.org/show_bug.cgi?id=150414
+
+ Reviewed by Dan Bernstein.
+
+ The uninitialized pointer to NSError causes the print function to crash.
+
+ * WebProcess/cocoa/WebProcessCocoa.mm:
+ (WebKit::registerWithAccessibility):
+
2015-10-21 Anders Carlsson <[email protected]>
Move services menu handling out into a separate function
Modified: trunk/Source/WebKit2/WebProcess/cocoa/WebProcessCocoa.mm (191413 => 191414)
--- trunk/Source/WebKit2/WebProcess/cocoa/WebProcessCocoa.mm 2015-10-21 23:54:32 UTC (rev 191413)
+++ trunk/Source/WebKit2/WebProcess/cocoa/WebProcessCocoa.mm 2015-10-22 00:02:01 UTC (rev 191414)
@@ -203,7 +203,7 @@
#endif
#if PLATFORM(IOS)
NSString *accessibilityBundlePath = [(NSString *)GSSystemRootDirectory() stringByAppendingString:@"/System/Library/AccessibilityBundles/WebProcessLoader.axbundle"];
- NSError *error;
+ NSError *error = nil;
if (![[NSBundle bundleWithPath:accessibilityBundlePath] loadAndReturnError:&error])
LOG_ERROR("Failed to load accessibility bundle at %@: %@", accessibilityBundlePath, error);
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes