Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fixes error where apps opened through deep links can crash - #28

#28
Open
hrastnik wants to merge 2 commits into
shoutem:mastershoutem/extensions:masterfrom
hrastnik:preview_oob_fixhrastnik/extensions:preview_oob_fixCopy head branch name to clipboard
Open

Fixes error where apps opened through deep links can crash#28
hrastnik wants to merge 2 commits into
shoutem:mastershoutem/extensions:masterfrom
hrastnik:preview_oob_fixhrastnik/extensions:preview_oob_fixCopy head branch name to clipboard

Conversation

@hrastnik

Copy link
Copy Markdown

A simple out of bounds array access happens when the app is opened through a deep link.

This PR fixes the bug by simply checking the array length before accessing it.

Also, some unused imports were removed.

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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.