Skip to content
This repository was archived by the owner on Sep 14, 2020. It is now read-only.

Commit 466d2ae

Browse files
Merge pull request #468 from bugsnag/cocoa-5.23.4-bump
Release 2.23.10
2 parents 0c282f0 + 066d37c commit 466d2ae

File tree

9 files changed

+23
-7
lines changed

9 files changed

+23
-7
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
Changelog
22
=========
33

4+
## 2.23.10 (2020-07-13)
5+
6+
## Bug fixes
7+
8+
* (iOS) Fix incorrect string comparison of thread names in Mach exception handling
9+
[#721](https://github.com/bugsnag/bugsnag-cocoa/pull/721)
10+
11+
* (iOS) Move binary images store declaration from header file
12+
[#725](https://github.com/bugsnag/bugsnag-cocoa/pull/725)
13+
14+
* (iOS) Avoid dereference null pointer in JSON serialisation
15+
[#637](https://github.com/bugsnag/bugsnag-cocoa/pull/637)
16+
[Naugladur](https://github.com/Naugladur)
17+
418
## 2.23.9 (2020-06-08)
519

620
## Bug fixes

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Bugsnag error monitoring & exception reporter for React Native
2-
[![Documentation](https://img.shields.io/badge/documentation-2.23.9-blue.svg)](http://docs.bugsnag.com/platforms/react-native/)
2+
[![Documentation](https://img.shields.io/badge/documentation-2.23.10-blue.svg)](http://docs.bugsnag.com/platforms/react-native/)
33

44
Automatic [React Native crash reporting](https://www.bugsnag.com/platforms/react-native-error-reporting/) with Bugsnag helps you detect both native OS and JavaScript errors in your React Native apps.
55

android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ android {
2323
minSdkVersion safeExtGet('minSdkVersion', 16)
2424
targetSdkVersion safeExtGet('targetSdkVersion', 28)
2525
versionCode 4
26-
versionName '2.23.9'
26+
versionName '2.23.10'
2727
consumerProguardFiles 'proguard-rules.pro'
2828
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2929
}

cocoa/vendor/bugsnag-cocoa/Source/BugsnagNotifier.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
#import <AppKit/AppKit.h>
4848
#endif
4949

50-
NSString *const NOTIFIER_VERSION = @"5.23.3";
50+
NSString *const NOTIFIER_VERSION = @"5.23.4";
5151
NSString *const NOTIFIER_URL = @"https://github.com/bugsnag/bugsnag-cocoa";
5252
NSString *const BSTabCrash = @"crash";
5353
NSString *const BSAttributeDepth = @"depth";

cocoa/vendor/bugsnag-cocoa/Source/KSCrash/Source/KSCrash/Recording/BSG_KSCrashReportStore.m

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,10 @@ - (NSDictionary *)fileWithId:(NSString *)fileId {
8383
if (dict != nil) {
8484
return dict;
8585
} else {
86+
NSError *error = nil;
8687
NSMutableDictionary *fileContents = [NSMutableDictionary new];
8788
NSMutableDictionary *recrashReport =
88-
[self readFile:[self pathToRecrashReportWithID:fileId] error:nil];
89+
[self readFile:[self pathToRecrashReportWithID:fileId] error:&error];
8990
BSGDictInsertIfNotNil(fileContents, recrashReport, @BSG_KSCrashField_RecrashReport);
9091
return fileContents;
9192
}

cocoa/vendor/bugsnag-cocoa/Source/KSCrash/Source/KSCrash/Recording/Sentry/BSG_KSCrashSentry_MachException.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ void *ksmachexc_i_handleExceptions(void *const userData) {
206206

207207
const char *threadName = (const char *)userData;
208208
pthread_setname_np(threadName);
209-
if (threadName == kThreadSecondary) {
209+
if (strcmp(threadName, kThreadSecondary) == 0) {
210210
BSG_KSLOG_DEBUG("This is the secondary thread. Suspending.");
211211
thread_suspend(bsg_ksmachthread_self());
212212
}

cocoa/vendor/bugsnag-cocoa/Source/KSCrash/Source/KSCrash/Recording/Tools/BSG_KSMachHeaders.h

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ typedef struct {
3636
BSG_Mach_Binary_Image_Info *contents;
3737
} BSG_Mach_Binary_Images;
3838

39-
static BSG_Mach_Binary_Images bsg_mach_binary_images;
4039

4140
// MARK: - Locking
4241

cocoa/vendor/bugsnag-cocoa/Source/KSCrash/Source/KSCrash/Recording/Tools/BSG_KSMachHeaders.m

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
// MARK: - Locking
1616

17+
static BSG_Mach_Binary_Images bsg_mach_binary_images;
18+
1719
// Pragma's hide unavoidable (and expected) deprecation/unavailable warnings
1820
_Pragma("clang diagnostic push")
1921
_Pragma("clang diagnostic ignored \"-Wunguarded-availability\"")

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"homepage": "https://www.bugsnag.com/platforms/react-native-error-reporting/",
44
"repository": "https://github.com/bugsnag/bugsnag-react-native.git",
55
"bugs": "https://github.com/bugsnag/bugsnag-react-native/issues",
6-
"version": "2.23.9",
6+
"version": "2.23.10",
77
"license": "MIT",
88
"main": "index.js",
99
"types": "index.d.ts",

0 commit comments

Comments
 (0)