Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Crash due to Null Pointer Dereference in WindowDestroyed Method #3884

Open
MisakaRay2021 opened this issue Feb 13, 2025 · 1 comment
Open
Labels
alloy-style Related to Chrome runtime + Alloy style bug Bug report native Related to a native (non-Views) framework windows Windows platform

Comments

@MisakaRay2021
Copy link

MisakaRay2021 commented Feb 13, 2025

Occasional crashes occur due to a null pointer dereference when calling AlloyBrowserHostImpl::FromBaseChecked(browser)->WindowDestroyed();. The FromBaseChecked function return nullptr if the input variable browser is nullptr, currently, there is no null check before calling WindowDestroyed()

AlloyBrowserHostImpl::FromBaseChecked(browser)->WindowDestroyed();

@magreenblatt
Copy link
Collaborator

Likely related to #3862

@magreenblatt magreenblatt added windows Windows platform alloy-style Related to Chrome runtime + Alloy style bug Bug report native Related to a native (non-Views) framework labels Feb 13, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
alloy-style Related to Chrome runtime + Alloy style bug Bug report native Related to a native (non-Views) framework windows Windows platform
Projects
None yet
Development

No branches or pull requests

2 participants