Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ndk): Skip null metadata values from serialization #511

Merged
merged 1 commit into from Jul 2, 2019

Conversation

kattrali
Copy link
Contributor

@kattrali kattrali commented Jul 2, 2019

In the event that a metadata value is null, the patched section would
crash in GetStringUTFChars(). This is most easily reproduced by calling
notify/throwing on an exception with no message.

Replaces #510

Tests

  • Manually tested by throwing an exception without a message. This would propagate null through leaveErrorBreadcrumb() which would then be serialized by the native layer.

@fractalwrench fractalwrench self-requested a review July 2, 2019 11:47
In the event that a metadata value is null, the patched section would
crash in GetStringUTFChars(). This is most easily reproduced by calling
notify/throwing on an exception with no message.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants