[Webkit-unassigned] [Bug 258313] New: WebPageProxy::setToolTip accesses a null PageClient
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 20 12:04:21 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=258313
Bug ID: 258313
Summary: WebPageProxy::setToolTip accesses a null PageClient
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: InRadar
Severity: Normal
Priority: P2
Component: UI Events
Assignee: webkit-unassigned at lists.webkit.org
Reporter: a_protyasha at apple.com
CC: webkit-bug-importer at group.apple.com
In 264455 at main, we introduced `WebPageProxy::dispatchMouseDidMoveOverElementAsynchronously`, which asks to perform `WebPageProxy::mouseDidMoveOverElement` at a future time. It turns out there's a null access on `m_pageClient` when we then call into `WebPageProxy::setToolTip`, which happens because we hold a `WeakPtr<PageClient>` instance to the `PageClient` object, meaning there are no guarantees on the PageClient instance's lifetime.
We should make sure this null deference does not happen.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230620/8cdb89fd/attachment.htm>
More information about the webkit-unassigned
mailing list