aboutsummaryrefslogtreecommitdiff
path: root/src/client/ios/Breakpad.mm
diff options
context:
space:
mode:
authorAdam Harrison <adamharrison@google.com>2018-02-02 11:14:00 -0800
committerMark Mentovai <mark@chromium.org>2018-02-02 20:18:46 +0000
commit6bb6c9b26afd9844b9e35fcaa39fb24893e7abb5 (patch)
tree0d5abb76e392a6b1d2210a40f0b07cc135973e08 /src/client/ios/Breakpad.mm
parentExtend ifdef to include helper functions (diff)
downloadbreakpad-6bb6c9b26afd9844b9e35fcaa39fb24893e7abb5.tar.xz
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 <mark@chromium.org>
Diffstat (limited to 'src/client/ios/Breakpad.mm')
-rw-r--r--src/client/ios/Breakpad.mm2
1 files changed, 1 insertions, 1 deletions
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))