Bug 297165
| Summary: | [WebDriver] Check and protect WeakPtr access inside Session code | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Lauro Moura <lmoura> |
| Component: | WebDriver | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/158456636>
Lauro Moura
Pull request: https://github.com/WebKit/WebKit/pull/49636
EWS
Committed 299689@main (095da143f9d0): <https://commits.webkit.org/299689@main>
Reviewed commits have been landed. Closing PR #49636 and removing active labels.