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: avoid crash in installer #29

Merged
merged 1 commit into from
Nov 11, 2021
Merged

fix: avoid crash in installer #29

merged 1 commit into from
Nov 11, 2021

Conversation

radeksimko
Copy link
Member

This was just an oversight on my part in how multierror is supposed to be used.

When no error is appended, the variable remains nil and therefore attempting to access any of its fields will crash.

@radeksimko radeksimko added the bug Something isn't working label Nov 10, 2021
@radeksimko radeksimko requested a review from kmoe November 10, 2021 22:07
@radeksimko
Copy link
Member Author

I need this fix in other PRs, so I'm going to merge it, but feel free to review afterwards.

@radeksimko radeksimko merged commit 86aaebb into main Nov 11, 2021
@radeksimko radeksimko deleted the fix-multierr-crash branch November 11, 2021 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant