Bug 234169
| Summary: | Darwin const ShareableBitmap::Handle gets invalidated during IPC encoding | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> |
| Component: | WebKit Process Model | Assignee: | Matt Woodrow <mattwoodrow> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | kkinnunen, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=231009 | ||
| Bug Depends on: | 238937 | ||
| Bug Blocks: | |||
Kimmo Kinnunen
const ShareableBitmap::Handle gets invalidated during IPC encoding
.. via SharedMemory::Handle IPC encoding transferring the send right to the receiver.
ShareableBitmap::Handle&&, SharedMemory::Handle&& should be transferred this way
const ShareableBitmap::Handle, const SharedMemory::Handle should be transferred by copying
Otherwise causes bugs when handle is held and sent multiple times, as in bug 231009
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/86646632>
Matt Woodrow
Pull request: https://github.com/WebKit/WebKit/pull/14659
EWS
Committed 264922@main (6c8a9cf2cbd2): <https://commits.webkit.org/264922@main>
Reviewed commits have been landed. Closing PR #14659 and removing active labels.