Bug 252603
| Summary: | [WebGPU] GPUBuffer::getMappedRange will attempt to copy from nullptr if mapping fails | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mike Wyrzykowski <mwyrzykowski> |
| Component: | WebGPU | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Mike Wyrzykowski
[WebGPU] GPUBuffer::getMappedRange will attempt to copy from nullptr if mapping fails
If mapping fails in the GPU process, then m_mappedRange.source is nullptr and we will attempt to perform a memcpy with a src address of 0
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105692446>
Mike Wyrzykowski
Pull request: https://github.com/WebKit/WebKit/pull/10396
EWS
Committed 261555@main (fee8a92ad0b7): <https://commits.webkit.org/261555@main>
Reviewed commits have been landed. Closing PR #10396 and removing active labels.