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

Exit early if universal link parameters cannot be created #5947

Merged
merged 1 commit into from
Mar 30, 2022

Conversation

Anderas
Copy link
Contributor

@Anderas Anderas commented Mar 29, 2022

Fixes #5883

Whilst the issue was fixed previously by removing API that allows passing of nil to a method, which then created Swift object that assumes non-nul values (and thus crashes), it is still theoretically possible that at some point some code is passing in some implicitely nil values. To make sure we catch this, check for nil values each time before creating the parameters.

@Anderas Anderas requested review from a team, ismailgulek and gileluard and removed request for a team and ismailgulek March 29, 2022 16:44
@github-actions
Copy link

📱 Scan the QR code below to install the build for this PR.
🔒 This build is for internal testing purpose. Only devices listed in the ad-hoc provisioning profile can install Element Alpha.

QR code

If you can't scan the QR code you can install the build via this link: https://i.diawi.com/tcMZxS

Copy link
Contributor

@gileluard gileluard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Anderas Anderas merged commit 2b76c40 into develop Mar 30, 2022
@Anderas Anderas deleted the andy/nil_link branch March 30, 2022 08:10
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.

App crashes when trying to join a room by its address
2 participants