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: crash when loadExtension fails #27561

Merged
merged 1 commit into from Feb 2, 2021

Conversation

samuelmaddock
Copy link
Member

Description of Change

A segfault occurs when an extension fails to load.

I forgot to check for a nullptr before writing an extension pref in #22655

Checklist

Release Notes

Notes: Fixed crash when extension fails to load.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jan 30, 2021
@codebytere codebytere added the semver/patch backwards-compatible bug fixes label Feb 1, 2021
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Feb 1, 2021
@zcbenz zcbenz merged commit b6df7cd into electron:master Feb 2, 2021
@release-clerk
Copy link

release-clerk bot commented Feb 2, 2021

Release Notes Persisted

Fixed crash when extension fails to load.

@trop
Copy link
Contributor

trop bot commented Feb 2, 2021

I have automatically backported this PR to "11-x-y", please check out #27588

@trop
Copy link
Contributor

trop bot commented Feb 2, 2021

I have automatically backported this PR to "12-x-y", please check out #27589

@trop
Copy link
Contributor

trop bot commented Feb 2, 2021

I have automatically backported this PR to "10-x-y", please check out #27590

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants