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 a crash when using value(forKey:) on a LinkingObjects property #6384

Merged
merged 1 commit into from
Dec 17, 2019

Conversation

tgoyne
Copy link
Member

@tgoyne tgoyne commented Dec 16, 2019

Obtaining an obj-c compatible reference to LinkingObjects now requires going through the accessor rather than reading the ivar directly due to the ivar being a swift struct.

Fixes #6366.

@tgoyne tgoyne requested a review from jsflax December 16, 2019 21:06
@tgoyne tgoyne self-assigned this Dec 16, 2019
Obtaining an obj-c compatible reference to LinkingObjects now requires going
through the accessor rather than reading the ivar directly due to the ivar
being swift struct.
@tgoyne tgoyne force-pushed the tg/linkingobjects-valueforkey branch from a5bf4cb to d965cb0 Compare December 16, 2019 21:10
@tgoyne tgoyne merged commit 732e01a into master Dec 17, 2019
@tgoyne tgoyne deleted the tg/linkingobjects-valueforkey branch December 17, 2019 21:04
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash under RLMObjectBase::valueForUndefinedKey
2 participants