Bug 297165

Summary: [WebDriver] Check and protect WeakPtr access inside Session code
Product: WebKit Reporter: Lauro Moura <lmoura>
Component: WebDriverAssignee: Lauro Moura <lmoura>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Lauro Moura
Reported 2025-08-08 20:16:12 PDT
Source/WebDriver/Session has a WeakPtr<WebSocketServer> that's being accessed without proper checks. This can lead to potential segfaults if the WeakPtr gets deleted behind our backs. Patch incoming.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-08-15 20:17:12 PDT
Lauro Moura
Comment 2 2025-08-19 20:29:02 PDT
EWS
Comment 3 2025-09-08 03:35:07 PDT
Committed 299689@main (095da143f9d0): <https://commits.webkit.org/299689@main> Reviewed commits have been landed. Closing PR #49636 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.