From 6bb6c9b26afd9844b9e35fcaa39fb24893e7abb5 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Fri, 2 Feb 2018 11:14:00 -0800 Subject: Fix crash when an NSException is thrown. old_handlers is zeroish whenever an NSException is thrown. This caused PROT_WRITE to never be set and resulted in an EXC_BAD_ACCESS when trying to set the handler to NULL. Change-Id: Ibb7da448204431c7602b1001f3a5216303c4c9d1 Reviewed-on: https://chromium-review.googlesource.com/899907 Reviewed-by: Mark Mentovai --- src/client/ios/Breakpad.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/ios/Breakpad.mm') diff --git a/src/client/ios/Breakpad.mm b/src/client/ios/Breakpad.mm index 3dd44a24..c2a4202a 100644 --- a/src/client/ios/Breakpad.mm +++ b/src/client/ios/Breakpad.mm @@ -50,7 +50,7 @@ #if !TARGET_OS_TV && !TARGET_OS_WATCH #import "client/mac/handler/exception_handler.h" #else -#import "client/ios/handler/exception_handler_no_mach.h" +#import "client/ios/exception_handler_no_mach.h" #endif // !TARGET_OS_TV && !TARGET_OS_WATCH #if !defined(__EXCEPTIONS) || (__clang__ && !__has_feature(cxx_exceptions)) -- cgit v1.2.1