Bug 282261
| Summary: | Crash in `DownloadProxyMap::downloadFinished` during network process teardown | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Charlie Wolfe <charliew> |
| Component: | WebKit Process Model | Assignee: | Charlie Wolfe <charliew> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | nham, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Charlie Wolfe
If `NetworkProcessProxy` begins destruction while the `CancelDownload` message is in flight all downloads will have already been cleared. Calling `DownloadProxyMap::downloadFinished` with the `DownloadProxy` being kept alive in the lambda capture will dereference a null `NetworkProcessProxy`.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Charlie Wolfe
<rdar://problem/130399446>
Charlie Wolfe
Pull request: https://github.com/WebKit/WebKit/pull/35880
EWS
Committed 285866@main (a111b21f3e10): <https://commits.webkit.org/285866@main>
Reviewed commits have been landed. Closing PR #35880 and removing active labels.