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

Cherry-pick "LibWeb: Copy m_resize_observers before iterating" #25445

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nico
Copy link
Contributor

@nico nico commented Nov 21, 2024

An inopportune garbage collection may cause collected ResizeObservers to unregister themselves from m_resize_observers while we are iterating over it, resulting in a use-after-free.

(cherry picked from commit f093a8af67f5e16f2b91e93cba2e35f2c56c74a2)


LadybirdBrowser/ladybird#2483

An inopportune garbage collection may cause collected `ResizeObserver`s
to unregister themselves from `m_resize_observers` while we are
iterating over it, resulting in a use-after-free.

(cherry picked from commit f093a8af67f5e16f2b91e93cba2e35f2c56c74a2)
@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Nov 21, 2024
@nico nico marked this pull request as draft November 22, 2024 00:00
@github-actions github-actions bot removed the 👀 pr-needs-review PR needs review from a maintainer or community member label Nov 22, 2024
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.

2 participants